diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2016-03-02 12:47:11 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-02 18:31:57 (GMT) |
commit | 7e88009b9b2a22a20064abdb2a6536eeb3bcf432 (patch) | |
tree | 9199dde3ee034667d964936f5e0f500ad165ee9e /drivers/net/ethernet/broadcom/bnx2x | |
parent | 8d1c6bcb0f7f6e9f1481bcd3a1c52e75cc1f7fa4 (diff) | |
download | linux-7e88009b9b2a22a20064abdb2a6536eeb3bcf432.tar.xz |
bnx2x: fix indentation in bnx2x_sp_task()
Fix a case of misleading code indentation.
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c index 9f5716a..2bf9c87 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c @@ -5682,7 +5682,7 @@ static void bnx2x_sp_task(struct work_struct *work) if (status & BNX2X_DEF_SB_IDX) { struct bnx2x_fastpath *fp = bnx2x_fcoe_fp(bp); - if (FCOE_INIT(bp) && + if (FCOE_INIT(bp) && (bnx2x_has_rx_work(fp) || bnx2x_has_tx_work(fp))) { /* Prevent local bottom-halves from running as * we are going to change the local NAPI list. |