]> asedeno.scripts.mit.edu Git - linux.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)
commitb093d4fe608c5f7d795d0c516baff495f9651525
treeff37da6b4d7900777483ff907796b5e31fd197b7
parentfdcc285b77a115f7207321ce1cf749f0ea6c0b92
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