staging: rtl8723bs: os_dep: Modify return type of function loadparam(..) to void
authorShobhit Kukreti <shobhitkukreti@gmail.com>
Sat, 22 Jun 2019 15:23:07 +0000 (08:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jun 2019 01:50:51 +0000 (09:50 +0800)
commit3dadf62ca5b2b5f7c41af06bf8851eaed1adacba
tree4f34fcbe9b9061b6be67e70091cc12a92867063e
parent6faeb505036d538b7ec71612aed389f9ef2ddb9e
staging: rtl8723bs: os_dep: Modify return type of function loadparam(..) to void

The function static uint loadparam(struct adapter *padapter, _nic_hdl
pnetdev) return type is modified to void.
The initial return value was always returning _SUCCESS and the return value
is never checked when the function is called.
This resolves coccicheck warnings of unneeded variables.

Signed-off-by: Shobhit Kukreti <shobhitkukreti@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/os_intfs.c