staging: wilc1000: avoid use of extra 'if' condition in wilc_init()
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 4 Sep 2018 06:39:24 +0000 (12:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 15:17:38 +0000 (17:17 +0200)
commit6bccf8fc6cfc48718d838165916020c9fc9b0239
tree2b502af845cf917c38b79f5c04c936dd72206f50
parent7814fb6ca83444ee86b129a04531a19a3fb7077b
staging: wilc1000: avoid use of extra 'if' condition in wilc_init()

Cleanup patch to avoid the avoid extra 'if' condition and clubbed the
same condition in single 'if' block.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c