]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1e4dd46386ee7bf51d6b0e52573b7cb9a73f414
tree4f34fcbe9b9061b6be67e70091cc12a92867063e
parent0aaaf2d58fd3fb8670e6383e1324c898f536e99f
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