staging: rtl8192e: remove set but not used variable 'frag'
authorzhengbin <zhengbin13@huawei.com>
Mon, 18 Nov 2019 07:58:21 +0000 (15:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Nov 2019 11:49:40 +0000 (12:49 +0100)
commit04254066ac76a96dfaafd730a999daa678aa59c0
treee797e84e684a10787f6102dcccdad50ae3e158db
parent6cfed598480493d814414ce7e53027bd6fc45c49
staging: rtl8192e: remove set but not used variable 'frag'

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

drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c: In function _rtl92e_process_phyinfo:
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c:1689:15: warning: variable frag set but not used [-Wunused-but-set-variable]

It is introduced by commit 3d461c912462 ("rtl8192e:
Split into two directories"), but never used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/1574063901-87429-1-git-send-email-zhengbin13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c