Hi,
On 2021/3/31 18:27, Greg KH wrote:
On Wed, Mar 31, 2021 at 05:42:47PM +0800, Yang Yingliang wrote:
GCC reports the following warning with W=1:
drivers/staging/rtl8723bs/os_dep/recv_linux.c:101:6: warning:
variable ‘ret’ set but not used [-Wunused-but-set-variable]
101 | int ret;
On Wed, Mar 31, 2021 at 05:42:47PM +0800, Yang Yingliang wrote:
> GCC reports the following warning with W=1:
>
> drivers/staging/rtl8723bs/os_dep/recv_linux.c:101:6: warning:
> variable ‘ret’ set but not used [-Wunused-but-set-variable]
> 101 | int ret;
> | ^~~
>
> This variable
GCC reports the following warning with W=1:
drivers/staging/rtl8723bs/os_dep/recv_linux.c:101:6: warning:
variable ‘ret’ set but not used [-Wunused-but-set-variable]
101 | int ret;
| ^~~
This variable is not used in function , this commit
remove it to fix the warning.
Fixes:
3 matches
Mail list logo