]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8712: r8712_free_drv_sw(): Change return type
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Thu, 8 Aug 2019 06:40:10 +0000 (12:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Aug 2019 17:58:15 +0000 (19:58 +0200)
commit089ebf48d1693874e47e07611e6cff9ca17b7ec6
tree7964ad43b71832ba85ca1fd0aa67afee97f38973
parent5ef4558005d7b2c28dd97adec77cd33d9cbb3842
staging: rtl8712: r8712_free_drv_sw(): Change return type

Change return type of r8712_free_drv_sw from u8 to void and remove its
return statement as it always returns the same value (_SUCCESS) and even
this value is never stored, checked or otherwise used.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190808064012.12661-8-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/os_intfs.c
drivers/staging/rtl8712/usb_osintf.h