]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8192e: Remove set but not used variables 'broad_addr, stype'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 18 Feb 2019 15:15:43 +0000 (15:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Feb 2019 10:14:14 +0000 (11:14 +0100)
commit880cbfa02406af395a120dc758259c892053006e
tree790ae64b04d8ee9bd390acee1a5495a3438b09ed
parent8b20408a56629a0bd4b04d1a440457cde41503f9
staging: rtl8192e: Remove set but not used variables 'broad_addr, stype'

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

drivers/staging/rtl8192e/rtl8192e/rtl_core.c: In function '_rtl92e_tx':
drivers/staging/rtl8192e/rtl8192e/rtl_core.c:1732:28: warning:
 variable 'broad_addr' set but not used [-Wunused-but-set-variable]

drivers/staging/rtl8192e/rtl8192e/rtl_core.c:1731:24: warning:
 variable 'stype' set but not used [-Wunused-but-set-variable]

This remove unnessesary bool variable 'multi_addr, broad_addr, uni_addr'
Also 'stype' never used and  can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c