]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: change handle_set_operation_mode's return type to void
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 6 Apr 2016 23:10:41 +0000 (08:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:03:39 +0000 (22:03 -0700)
commit87352fecff28305b30ffc2ce2ccf59e890e105c4
treeff37da6b4d7900777483ff907796b5e31fd197b7
parent4e268a2df5578b5449214173fad442ba840ef717
staging: wilc1000: change handle_set_operation_mode's return type to void

When handle_set_operation_mode is called in hostIFthread that is a
kernel thread, it is not checked return type of this function. This
patch changes return type to void and removes braces if statement due to
have a single statement.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c