projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15fd70
)
staging: bcm: Removed unnecessary else after return
author
Sarah Khan
<sarahjmi07@gmail.com>
Tue, 7 Oct 2014 00:39:19 +0000
(06:09 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:14 +0000
(10:29 +0800)
WARNING: else is generally not required after return
chaeckpatch.pl warning in led_control.c
Signed-off-by: Sarah Khan <sarahjmi07@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/led_control.c
patch
|
blob
|
history
diff --git
a/drivers/staging/bcm/led_control.c
b/drivers/staging/bcm/led_control.c
index
074fc39
..
181f17f
100644
(file)
--- a/
drivers/staging/bcm/led_control.c
+++ b/
drivers/staging/bcm/led_control.c
@@
-95,8
+95,7
@@
static INT ScaleRateofTransfer(ULONG rate)
return 9;
else if ((rate > 500) && (rate <= 600))
return 10;
- else
- return MAX_NUM_OF_BLINKS;
+ return MAX_NUM_OF_BLINKS;
}
static INT blink_in_normal_bandwidth(struct bcm_mini_adapter *ad,