projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9798aa
)
staging: bcm: Removed unnecessary 'else' after 'return' statement in Qos.c
author
Esra Altintas
<es.altintas@gmail.com>
Wed, 8 Oct 2014 18:21:50 +0000
(21:21 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:20 +0000
(10:29 +0800)
The following patch fixes the checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
Signed-off-by: Esra Altintas <es.altintas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Qos.c
patch
|
blob
|
history
diff --git
a/drivers/staging/bcm/Qos.c
b/drivers/staging/bcm/Qos.c
index b3ac614cd35f4284d01038a530fc3d17a9adbe06..0f16c634279900ddd8f18a2db422ffc41419cad8 100644
(file)
--- a/
drivers/staging/bcm/Qos.c
+++ b/
drivers/staging/bcm/Qos.c
@@
-978,8
+978,7
@@
static bool EthCSMatchEThTypeSAP(struct bcm_classifier_rule *pstClassifierRule,
if (pstEthCsPktInfo->ucDSAP ==
pstClassifierRule->au8EthCSEtherType[2])
return TRUE;
- else
- return false;
+ return false;
}