]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6aaa009d8f5eb34294591434fdf87d313affd95f
tree9c92601864518bb77181560930a781de4fa54271
parent73aa2b8c0f5b6096753e005d93191cdb216b2d85
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