staging: rtl8188eu: kill unused INCLUDE_MULTI_FUNC_* macros
authorJakub Sitnicki <jsitnicki@gmail.com>
Tue, 16 Jun 2015 04:17:23 +0000 (06:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Jun 2015 04:56:37 +0000 (21:56 -0700)
Also, remove rt_multi_func enum used exclusively by the killed macros.

Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtl8188e_hal.h

index 5015748a9f42379ea60833a73443bfdd975a1e6a..7d8e022925e013eb432362f67ea3ff2f441b9104 100644 (file)
@@ -188,14 +188,6 @@ struct txpowerinfo24g {
 
 #define EFUSE_PROTECT_BYTES_BANK       16
 
-/*  For RTL8723 WiFi/BT/GPS multi-function configuration. */
-enum rt_multi_func {
-       RT_MULTI_FUNC_NONE = 0x00,
-       RT_MULTI_FUNC_WIFI = 0x01,
-       RT_MULTI_FUNC_BT = 0x02,
-       RT_MULTI_FUNC_GPS = 0x04,
-};
-
 /*  For RTL8723 regulator mode. */
 enum rt_regulator_mode {
        RT_SWITCHING_REGULATOR = 0,
@@ -378,11 +370,6 @@ struct hal_data_8188e {
        ((struct hal_data_8188e *)((__pAdapter)->HalData))
 #define GET_RF_TYPE(priv)              (GET_HAL_DATA(priv)->rf_type)
 
-#define INCLUDE_MULTI_FUNC_BT(_Adapter)                                \
-       (GET_HAL_DATA(_Adapter)->MultiFunc & RT_MULTI_FUNC_BT)
-#define INCLUDE_MULTI_FUNC_GPS(_Adapter)                       \
-       (GET_HAL_DATA(_Adapter)->MultiFunc & RT_MULTI_FUNC_GPS)
-
 /*  rtl8188e_hal_init.c */
 void _8051Reset88E(struct adapter *padapter);
 void rtl8188e_InitializeFirmwareVars(struct adapter *padapter);