aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/ethernet-tx.c
diff options
context:
space:
mode:
authorLaura Garcia Liebana <nevola@gmail.com>2016-02-28 00:44:37 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-11 22:09:09 -0800
commit7ba18e852d8511ab4572f83b154861d2a974bf31 (patch)
treea906581f5dcca8d94b01b93348a8bf2989a591ae /drivers/staging/octeon/ethernet-tx.c
parentstaging: octeon: Fix block comments (diff)
downloadlinux-dev-7ba18e852d8511ab4572f83b154861d2a974bf31.tar.xz
linux-dev-7ba18e852d8511ab4572f83b154861d2a974bf31.zip
staging: octeon: Remove blank lines after open brace
Blank lines are not necessary after an open brace. Checkpatch detected these issues. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-tx.c')
-rw-r--r--drivers/staging/octeon/ethernet-tx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/octeon/ethernet-tx.c b/drivers/staging/octeon/ethernet-tx.c
index 5df4d01eb2c3..f085491bdc88 100644
--- a/drivers/staging/octeon/ethernet-tx.c
+++ b/drivers/staging/octeon/ethernet-tx.c
@@ -427,7 +427,6 @@ dont_put_skbuff_in_hw:
/* Drop this packet if we have too many already queued to the HW */
if (unlikely(skb_queue_len(&priv->tx_free_list[qos]) >=
MAX_OUT_QUEUE_DEPTH)) {
-
if (dev->tx_queue_len != 0) {
/* Drop the lock when notifying the core. */
spin_unlock_irqrestore(&priv->tx_free_list[qos].lock,