rtl8188eu: Remove CONFIG_PROC_DEBUG - defined

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-21 10:41:57 -05:00
parent a3f602a144
commit 08a92b716f
5 changed files with 1 additions and 20 deletions

View file

@ -19,8 +19,8 @@
******************************************************************************/ ******************************************************************************/
#define _RTW_DEBUG_C_ #define _RTW_DEBUG_C_
#include <rtw_debug.h> #include <rtw_debug.h>
#include <rtw_version.h>
#ifdef CONFIG_DEBUG_RTL871X #ifdef CONFIG_DEBUG_RTL871X
@ -59,9 +59,6 @@
#endif #endif
#ifdef CONFIG_PROC_DEBUG
#include <rtw_version.h>
int proc_get_drv_version(char *page, char **start, int proc_get_drv_version(char *page, char **start,
off_t offset, int count, off_t offset, int count,
int *eof, void *data) int *eof, void *data)
@ -1117,8 +1114,4 @@ int proc_set_btcoex_dbg(struct file *file, const char __user *buffer,
} }
#endif /* CONFIG_BT_COEXIST */ #endif /* CONFIG_BT_COEXIST */
#endif

View file

@ -119,5 +119,3 @@
* Debug Related Config * Debug Related Config
*/ */
#define DBG 1 #define DBG 1
#define CONFIG_PROC_DEBUG

View file

@ -85,13 +85,8 @@ struct net_device *rtw_init_netdev(_adapter *padapter);
u16 rtw_recv_select_queue(struct sk_buff *skb); u16 rtw_recv_select_queue(struct sk_buff *skb);
#endif //LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35) #endif //LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,35)
#ifdef CONFIG_PROC_DEBUG
void rtw_proc_init_one(struct net_device *dev); void rtw_proc_init_one(struct net_device *dev);
void rtw_proc_remove_one(struct net_device *dev); void rtw_proc_remove_one(struct net_device *dev);
#else //!CONFIG_PROC_DEBUG
static void rtw_proc_init_one(struct net_device *dev){}
static void rtw_proc_remove_one(struct net_device *dev){}
#endif //!CONFIG_PROC_DEBUG
void rtw_ips_dev_unload(_adapter *padapter); void rtw_ips_dev_unload(_adapter *padapter);

View file

@ -218,8 +218,6 @@ extern u32 GlobalDebugLevel;
} \ } \
} while (0) } while (0)
#ifdef CONFIG_PROC_DEBUG
int proc_get_drv_version(char *page, char **start, int proc_get_drv_version(char *page, char **start,
off_t offset, int count, off_t offset, int count,
int *eof, void *data); int *eof, void *data);
@ -384,6 +382,5 @@ extern u32 GlobalDebugLevel;
unsigned long count, void *data); unsigned long count, void *data);
#endif //CONFIG_BT_COEXIST #endif //CONFIG_BT_COEXIST
#endif //CONFIG_PROC_DEBUG
#endif //__RTW_DEBUG_H__ #endif //__RTW_DEBUG_H__

View file

@ -222,7 +222,6 @@ int _netdev_open(struct net_device *pnetdev);
int netdev_open (struct net_device *pnetdev); int netdev_open (struct net_device *pnetdev);
static int netdev_close (struct net_device *pnetdev); static int netdev_close (struct net_device *pnetdev);
#ifdef CONFIG_PROC_DEBUG
#define RTL8192C_PROC_NAME "rtl819xC" #define RTL8192C_PROC_NAME "rtl819xC"
#define RTL8192D_PROC_NAME "rtl819xD" #define RTL8192D_PROC_NAME "rtl819xD"
static char rtw_proc_name[IFNAMSIZ]; static char rtw_proc_name[IFNAMSIZ];
@ -611,7 +610,6 @@ void rtw_proc_remove_one(struct net_device *dev)
} }
} }
#endif #endif
#endif
static uint loadparam( _adapter *padapter, _nic_hdl pnetdev) static uint loadparam( _adapter *padapter, _nic_hdl pnetdev)
{ {