staging: rtl8188eu: remove break after return
authorSupriya Karanth <iskaranth@gmail.com>
Fri, 13 Mar 2015 07:58:40 +0000 (16:58 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 15:08:01 +0000 (16:08 +0100)
Remove "break" statement after a "return" statement as
it does not get executed.

Found by checkpatch.pl - break is not useful after a goto
or return

Signed-off-by: Supriya Karanth <iskaranth@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/pwrseqcmd.c

index be0663e93f611d9ea1d0f756153483fe60c80ea6..73e1f8b36b37d255e6c6e08b8f22b505ebcce5ff 100644 (file)
@@ -109,7 +109,6 @@ u8 rtl88eu_pwrseqcmdparsing(struct adapter *padapter, u8 cut_vers, u8 fab_vers,
                                RT_TRACE(_module_hal_init_c_, _drv_info_,
                                         ("rtl88eu_pwrseqcmdparsing: PWR_CMD_END\n"));
                                return true;
-                               break;
                        default:
                                RT_TRACE(_module_hal_init_c_, _drv_err_,
                                         ("rtl88eu_pwrseqcmdparsing: Unknown CMD!!\n"));