OSDN Git Service

staging: wilc1000: Simplify code by eliminating else block
authorJanani Ravichandran <janani.rvchndrn@gmail.com>
Sun, 14 Feb 2016 05:09:33 +0000 (00:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:31:44 +0000 (16:31 -0800)
commit24c6c29d85af3748b2d79b46f72188b335566340
tree9a6560e8dc56b9db6245888419aeaf7f216de813
parent04b2172a6a489dce3efb8d662516b16fc33002fa
staging: wilc1000: Simplify code by eliminating else block

Remove else block here as it is not useful after the return statement in the corresponding if block. This simplifies code. This issue was identified by checkpatch.

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c