rtlwifi: rtl8192se: Remove set but not used variable 'seg_ptr'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 27 Feb 2019 02:23:47 +0000 (02:23 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 28 Feb 2019 08:40:39 +0000 (10:40 +0200)
commit037e0c5df64980dfffdce1317790730ceda77945
tree251cb0d4c8e4b773288c40b98167a2ca2f74d4c4
parent85c6ac33c87c44893ddc561dfd0a8bdc9ec68cd5
rtlwifi: rtl8192se: Remove set but not used variable 'seg_ptr'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c: In function '_rtl92s_firmware_downloadcode':
drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c:139:17: warning:
 variable 'seg_ptr' set but not used [-Wunused-but-set-variable]

It's not used after commit 59ae1d127ac0 ("networking: introduce and use
skb_put_data()")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c