]> git.karo-electronics.de Git - linux-beck.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)
commit157edcca3321f058600fd7b23b7151021ad0b209
treef989d5fdd0e9efffbefe4cd0b213fe5fa2db7994
parent31cc9885e7c74164aaa48228da723c5e9f9c51f9
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