]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: change handle_get_mac_address's return type to void
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 2 May 2016 10:47:53 +0000 (19:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 May 2016 21:05:59 +0000 (14:05 -0700)
commitfce86b42024215d95eaa9e000d8647d6af0561e7
tree4ed3b5324ede011d9f46567f288331f5d033887f
parent174d329689b9e74c4708a481afece30fc3330f42
staging: wilc1000: change handle_get_mac_address's return type to void

When handle_get_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 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