Commit 9d1ffa07 authored by Sarah Khan's avatar Sarah Khan Committed by Greg Kroah-Hartman

staging: bcm: Removed unnecessary else after return

WARNING: else is generally not required after return
chaeckpatch.pl warning in led_control.c
Signed-off-by: default avatarSarah Khan <sarahjmi07@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c15fd709
...@@ -95,8 +95,7 @@ static INT ScaleRateofTransfer(ULONG rate) ...@@ -95,8 +95,7 @@ static INT ScaleRateofTransfer(ULONG rate)
return 9; return 9;
else if ((rate > 500) && (rate <= 600)) else if ((rate > 500) && (rate <= 600))
return 10; return 10;
else return MAX_NUM_OF_BLINKS;
return MAX_NUM_OF_BLINKS;
} }
static INT blink_in_normal_bandwidth(struct bcm_mini_adapter *ad, static INT blink_in_normal_bandwidth(struct bcm_mini_adapter *ad,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment