]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192u: Delete 'dm_change_fsync_setting' function in r8192U_dm.c
authorAna Rey <anarey@gmail.com>
Wed, 19 Mar 2014 10:54:55 +0000 (11:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 16:30:01 +0000 (09:30 -0700)
Delete the 'dm_change_fsync_setting' function that is not used in
anywhere in the driver.

Fix sparse warnings:

drivers/staging/rtl8192u/r8192U_dm.c:1812:6: warning: symbol 'dm_change_fsync_setting' was not declared. Should it be static?

Signed-off-by: Ana Rey <anarey@gmail.com>
Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_dm.c

index d9416dd0649b1d3d1488478b866bee8241ae8b30..6d2ba87109092917340275213514842804253d1c 100644 (file)
@@ -1842,22 +1842,6 @@ void dm_change_dynamic_initgain_thresh(struct net_device *dev,
                dm_digtable.rx_gain_range_max = (u8)dm_value;
        }
 }      /* DM_ChangeDynamicInitGainThresh */
-void
-dm_change_fsync_setting(
-       struct net_device *dev,
-       s32             DM_Type,
-       s32             DM_Value)
-{
-       struct r8192_priv *priv = ieee80211_priv(dev);
-
-       if (DM_Type == 0)       // monitor 0xc38 register
-       {
-               if(DM_Value > 1)
-                       DM_Value = 1;
-               priv->framesyncMonitor = (u8)DM_Value;
-               //DbgPrint("pHalData->framesyncMonitor = %d", pHalData->framesyncMonitor);
-       }
-}
 
 void
 dm_change_rxpath_selection_setting(