staging: rtl8723bs: hal: Remove set but unused variables
authorFabio M. De Francesco <fmdefrancesco@gmail.com>
Sun, 23 May 2021 17:45:47 +0000 (19:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 May 2021 16:24:09 +0000 (18:24 +0200)
commitdb52e8f48067ba355ebf69a90117791b78ea77ab
treec3146dfb768a6b729273547513ed3fd38312bd19
parent6ec070e872a1b2af4d12016d2d404115d9de5c25
staging: rtl8723bs: hal: Remove set but unused variables

Removed set but unused variables. Issue detected by GCC running with
the warning option -Wunused-but-set-variable. Removed the storage of
the values returned but left the reads because it is possible
that removing them can prevent the hardware from working properly.

Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Link: https://lore.kernel.org/r/20210523174547.20646-1-fmdefrancesco@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c