staging: octeon: Fix braces in condition statement
Braces should be used on all arms of the if statement. Checkpatch detected this issue. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3f4a565a91
commit
32680d9319
@ -174,8 +174,9 @@ int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev)
|
|||||||
qos = 0;
|
qos = 0;
|
||||||
else if (qos >= cvmx_pko_get_num_queues(priv->port))
|
else if (qos >= cvmx_pko_get_num_queues(priv->port))
|
||||||
qos = 0;
|
qos = 0;
|
||||||
} else
|
} else {
|
||||||
qos = 0;
|
qos = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (USE_ASYNC_IOBDMA) {
|
if (USE_ASYNC_IOBDMA) {
|
||||||
/* Save scratch in case userspace is using it */
|
/* Save scratch in case userspace is using it */
|
||||||
|
Reference in New Issue
Block a user