staging: rtl8723bs: Remove set but not used variable 'oldcnt'
authorzhengbin <zhengbin13@huawei.com>
Sun, 6 Oct 2019 09:33:02 +0000 (17:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2019 10:25:46 +0000 (12:25 +0200)
commita5a5ec2538ab76fda4ec66f86adf0b80ef7c40bc
tree129b4dd73c6e71e65415c255746f5225fa76f9e9
parentea60b4eb4420ba59172a3283bf26192d609a114d
staging: rtl8723bs: Remove set but not used variable 'oldcnt'

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

drivers/staging/rtl8723bs/hal/sdio_ops.c: In function sdio_read_port:
drivers/staging/rtl8723bs/hal/sdio_ops.c:430:6: warning: variable oldcnt set but not used [-Wunused-but-set-variable]

It is not used since commit dedf215bd1c7 ("staging:
rtl8723bs: remove unused code")

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