]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteacccc0a14a4e94704e65fc16604b33862b88205
tree2b502af845cf917c38b79f5c04c936dd72206f50
parenteb30797deaf36d3f5541e05bcbc58f3ff34cccd2
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