OSDN Git Service

staging: rtl8188eu: osdep_service.h: Remove unused macro, enum and variables
authornavin patidar <navin.patidar@gmail.com>
Sun, 22 Jun 2014 08:36:26 +0000 (14:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:27:13 +0000 (20:27 -0400)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/osdep_service.h

index e9d5309..294b234 100644 (file)
@@ -163,30 +163,6 @@ static inline int rtw_netif_queue_stopped(struct net_device *pnetdev)
 
 extern int RTW_STATUS_CODE(int error_code);
 
-/* flags used for rtw_update_mem_stat() */
-enum {
-       MEM_STAT_VIR_ALLOC_SUCCESS,
-       MEM_STAT_VIR_ALLOC_FAIL,
-       MEM_STAT_VIR_FREE,
-       MEM_STAT_PHY_ALLOC_SUCCESS,
-       MEM_STAT_PHY_ALLOC_FAIL,
-       MEM_STAT_PHY_FREE,
-       MEM_STAT_TX, /* used to distinguish TX/RX, asigned from caller */
-       MEM_STAT_TX_ALLOC_SUCCESS,
-       MEM_STAT_TX_ALLOC_FAIL,
-       MEM_STAT_TX_FREE,
-       MEM_STAT_RX, /* used to distinguish TX/RX, asigned from caller */
-       MEM_STAT_RX_ALLOC_SUCCESS,
-       MEM_STAT_RX_ALLOC_FAIL,
-       MEM_STAT_RX_FREE
-};
-
-extern unsigned char MCS_rate_2R[16];
-extern unsigned char MCS_rate_1R[16];
-extern unsigned char RTW_WPA_OUI[];
-extern unsigned char WPA_TKIP_CIPHER[4];
-extern unsigned char RSN_TKIP_CIPHER[4];
-
 #define rtw_update_mem_stat(flag, sz) do {} while (0)
 u8 *_rtw_malloc(u32 sz);
 void _rtw_mfree(u8 *pbuf, u32 sz);
@@ -277,9 +253,6 @@ static inline u32 bitshift(u32 bitmask)
        return i;
 }
 
-/*  limitation of path length */
-#define PATH_LENGTH_MAX PATH_MAX
-
 struct rtw_netdev_priv_indicator {
        void *priv;
        u32 sizeof_priv;