From: Xenia Ragiadakou Date: Sat, 21 Sep 2013 20:42:34 +0000 (+0300) Subject: staging: rtl8192u: remove #ifndef RTL8192U and the code inside it X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=97d6f4a9f95b4d69f9bdc937f3c63f81f3edc4c8;p=linux-beck.git staging: rtl8192u: remove #ifndef RTL8192U and the code inside it This patch removes the unused code inside #ifndef RTL8192U header guard and the guard itself, since RTL8192U is defined. Signed-off-by: Xenia Ragiadakou Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging/rtl8192u/r8192U_dm.c index 6c87178eb6f2..41fb67b7337d 100644 --- a/drivers/staging/rtl8192u/r8192U_dm.c +++ b/drivers/staging/rtl8192u/r8192U_dm.c @@ -100,14 +100,6 @@ static void dm_check_txpower_tracking(struct net_device *dev); //static void dm_txpower_reset_recovery(struct net_device *dev); -// DM --> BB init gain restore -#ifndef RTL8192U -static void dm_bb_initialgain_restore(struct net_device *dev); - - -// DM --> BB init gain backup -static void dm_bb_initialgain_backup(struct net_device *dev); -#endif // DM --> Dynamic Init Gain by RSSI static void dm_dig_init(struct net_device *dev); static void dm_ctrl_initgain_byrssi(struct net_device *dev);