staging: rtl8192e: Remove set but not used variable 'VenderID'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 6 Apr 2019 03:11:34 +0000 (03:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:31:59 +0000 (13:31 +0200)
commit52927d97d80e9a57bf112a2d59aba5e3dc32fa2f
treec893d10b4f7663effebb23c201c88a90a9014805
parent94be357fe618999c7998da642c37fc0b4a0f6ad3
staging: rtl8192e: Remove set but not used variable 'VenderID'

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

drivers/staging/rtl8192e/rtl8192e/rtl_pci.c: In function 'rtl92e_check_adapter':
drivers/staging/rtl8192e/rtl8192e/rtl_pci.c:36:6: warning:
 variable 'VenderID' set but not used [-Wunused-but-set-variable]
  u16 VenderID;
      ^

It's never used and can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_pci.c