1
0
Fork 0

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>
hifive-unleashed-5.1
Laura Garcia Liebana 2016-02-28 00:47:09 +01:00 committed by Greg Kroah-Hartman
parent 3f4a565a91
commit 32680d9319
1 changed files with 2 additions and 1 deletions

View File

@ -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 */