From: John Whitmore Date: Wed, 26 Sep 2018 19:16:54 +0000 (+0100) Subject: staging:rtl8192u: Remove definition of HTSetConnectBwMode - Style X-Git-Tag: v4.20-rc1~72^2~246 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=1eed1d928780cf74af70a3260181ea9f4fb468de;p=linux-block.git staging:rtl8192u: Remove definition of HTSetConnectBwMode - Style Remove the redundant declaration of the function HTSetConnectBwMode() as it is not needed in the code. The function is already declared in header file, multiple declarations add nothing. This is a style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index ebe8d527a080..977a1e5c9b52 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c @@ -837,7 +837,6 @@ static u8 HTFilterMCSRate(struct ieee80211_device *ieee, u8 *pSupportMCS, return true; } -void HTSetConnectBwMode(struct ieee80211_device *ieee, enum ht_channel_width Bandwidth, enum ht_extension_chan_offset Offset); void HTOnAssocRsp(struct ieee80211_device *ieee) { PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo;