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:
3f4a565
)
staging: octeon: Fix braces in condition statement
author
Laura Garcia Liebana
<
[email protected]
>
Sat, 27 Feb 2016 23:47:09 +0000
(
00:47
+0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 12 Mar 2016 06:09:09 +0000
(22:09 -0800)
Braces should be used on all arms of the if statement. Checkpatch
detected this issue.
Signed-off-by: Laura Garcia Liebana <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/octeon/ethernet-tx.c
patch
|
blob
|
history
diff --git
a/drivers/staging/octeon/ethernet-tx.c
b/drivers/staging/octeon/ethernet-tx.c
index aecf1a06852141b76816e51b14f978d2d3da860a..ffe9bd77a7bbf841a5d299b9643d3bae50a2f214 100644
(file)
--- a/
drivers/staging/octeon/ethernet-tx.c
+++ b/
drivers/staging/octeon/ethernet-tx.c
@@
-174,8
+174,9
@@
int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev)
qos = 0;
else if (qos >= cvmx_pko_get_num_queues(priv->port))
qos = 0;
- } else
+ } else
{
qos = 0;
+ }
if (USE_ASYNC_IOBDMA) {
/* Save scratch in case userspace is using it */