staging: rtl8723bs: remove unused variable from rtw_os_recv_indicate_pkt
authorPhillip Potter <phil@philpotter.co.uk>
Tue, 6 Apr 2021 10:56:07 +0000 (11:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Apr 2021 12:11:18 +0000 (14:11 +0200)
commitcf447efc6cdf0e17d7f0d03fa2b58e7860396a9d
tree956f227748f8aa24f1ecb7946138298d6ecea733
parent801adee270ba39f633844a1e5aa99175a17f2af3
staging: rtl8723bs: remove unused variable from rtw_os_recv_indicate_pkt

Remove unused 'ret' variable from rtw_os_recv_indicate_pkt function in
drivers/staging/rtl8723bs/os_dep/recv_linux.c as nothing is actually
done with it. A function return val is conditionally stored to it under
certain circumstances, but nothing is done with it after. Fixes a
warning from kernel test robot.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210406105607.1689292-1-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/recv_linux.c