mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
Staging: rtl8192u: Remove else after return
This patch simplifies the code by removing else and fixes the following checkpatch.pl warning: "else is not useful after break or return". Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3033669eb2
commit
bf1c66e815
1 changed files with 3 additions and 4 deletions
|
|
@ -1365,11 +1365,10 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
|
|||
if ((*stage) == 2) {
|
||||
(*delay) = CurrentCmd->msDelay;
|
||||
return true;
|
||||
} else {
|
||||
(*stage)++;
|
||||
(*step) = 0;
|
||||
continue;
|
||||
}
|
||||
(*stage)++;
|
||||
(*step) = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
switch (CurrentCmd->CmdID) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue