Searched hist:"3 dadf62c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | os_intfs.c | 3dadf62c Sat Jun 22 10:23:07 CDT 2019 Shobhit Kukreti <shobhitkukreti@gmail.com> 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> 3dadf62c Sat Jun 22 10:23:07 CDT 2019 Shobhit Kukreti <shobhitkukreti@gmail.com> 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>
|