OSDN Git Service

staging: rtl8712: init_default_value(): Change return type
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Thu, 8 Aug 2019 06:40:08 +0000 (12:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Aug 2019 17:58:14 +0000 (19:58 +0200)
commit30d83c801d068abbfbb8f6f47e0c1f2a4a36e4b9
tree9c92601864518bb77181560930a781de4fa54271
parent9dca5e687fb05e1b968e5151fd868ed4722863f6
staging: rtl8712: init_default_value(): Change return type

Change return type of init_default_value from u8 to void as it always
returns _SUCCESS. Remove now-unnecessary return statement.
Modify call site to simply call the function.

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