]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: handle_set_mac_address: change return type to void
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 16 Feb 2016 08:39:52 +0000 (17:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 00:55:33 +0000 (16:55 -0800)
commitbb31df92cfc8fecbdee1b3c128bd57e8166df2cd
treef989d5fdd0e9efffbefe4cd0b213fe5fa2db7994
parentf09a7f86653c70c3754c156538862ea9eaae5504
staging: wilc1000: handle_set_mac_address: change return type to void

When handle_set_mac_address 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 a brace of 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