]> 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)
commitde3d4abac7ae8f3c4d395e68c02c0c2780015cdf
tree4ed3b5324ede011d9f46567f288331f5d033887f
parentbe71c19b781ccfc624e94c998719155fa3788fd0
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