Просмотр исходного кода

usb: musb: get rid of unused proc_dir_entry

The musb driver no longer uses procfs, so get rid of the proc_dir_entry
variable in struct musb.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Greg Kroah-Hartman 12 лет назад
Родитель
Сommit
24dc3538bc
1 измененных файлов с 0 добавлено и 8 удалено
  1. 0 8
      drivers/usb/musb/musb_core.h

+ 0 - 8
drivers/usb/musb/musb_core.h

@@ -83,11 +83,6 @@ enum {
 	MUSB_PORT_MODE_DUAL_ROLE,
 	MUSB_PORT_MODE_DUAL_ROLE,
 };
 };
 
 
-#ifdef CONFIG_PROC_FS
-#include <linux/fs.h>
-#define MUSB_CONFIG_PROC_FS
-#endif
-
 /****************************** CONSTANTS ********************************/
 /****************************** CONSTANTS ********************************/
 
 
 #ifndef MUSB_C_NUM_EPS
 #ifndef MUSB_C_NUM_EPS
@@ -425,9 +420,6 @@ struct musb {
 
 
 	struct musb_hdrc_config	*config;
 	struct musb_hdrc_config	*config;
 
 
-#ifdef MUSB_CONFIG_PROC_FS
-	struct proc_dir_entry *proc_entry;
-#endif
 	int			xceiv_old_state;
 	int			xceiv_old_state;
 #ifdef CONFIG_DEBUG_FS
 #ifdef CONFIG_DEBUG_FS
 	struct dentry		*debugfs_root;
 	struct dentry		*debugfs_root;