staging: wilc1000: Optimize code of wilc_get_chipid function
authorChris Park <chris.park@atmel.com>
Thu, 4 Feb 2016 09:15:54 +0000 (18:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commit65c3f000133ae375f34772d5e59f8aee28fbac9a
treef228eb4f81258ac61304600e30e54ff5cf45dee0
parent20f4e712d1a9c2efce20d5345cc1a4bf7070852b
staging: wilc1000: Optimize code of wilc_get_chipid function

This patch optimize code of wilc_get_chipid function.
u8 type changed to boolean type and removed unnecessary if statement.

Signed-off-by: Chris Park <chris.park@atmel.com>
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan_if.h