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-Tag: v3.13-rc1~170^2~595 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97d6f4a9f95b4d69f9bdc937f3c63f81f3edc4c8;p=platform%2Fkernel%2Flinux-exynos.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 6c87178..41fb67b 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);