staging: rtl8192u: Delete 'dm_change_fsync_setting' function in r8192U_dm.c

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>
This commit is contained in:
Ana Rey
2014-03-19 11:54:55 +01:00
committed by Greg Kroah-Hartman
parent 5e41d62230
commit e635b0793d
-16
View 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(