staging: rtl8188eu: os_dep: Remove unnecessary else after return
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Thu, 10 Mar 2016 16:54:07 +0000 (22:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commit61a95c8d71fa048704c8edcb97fb623b4dd82cae
tree3fc61c4cd22b9959d02b35275875fd4276ba2af2
parente59b76cfca78179f7a5a796cb2a51a73ce70a8d1
staging: rtl8188eu: os_dep: Remove unnecessary else after return

This patch fixes the checkpatch warning that else is not generally
useful after a break or return.

This was done using Coccinelle:
@@
expression e2;
statement s1;
@@
if(e2) { ... return ...; }
-else
         s1

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/osdep_service.c