staging: rtl8192e: remove set but not used variable 'payload '
authorYueHaibing <yuehaibing@huawei.com>
Wed, 17 Jul 2019 14:35:51 +0000 (22:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 07:58:26 +0000 (09:58 +0200)
commit756e4624ddcfdc2792fe389262ba7447f22d8913
tree857c5490ad56698cc71953b52e7774960bd407ff
parent3774fb6bd2b99858f37d9559bf0e3f9a9649f3f3
staging: rtl8192e: remove set but not used variable 'payload '

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

drivers/staging/rtl8192e/rtllib_rx.c: In function rtllib_rx_InfraAdhoc:
drivers/staging/rtl8192e/rtllib_rx.c:1303:6: warning:
 variable payload set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190717143551.29200-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c