diff options
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index ac7b74488531..ff5d3c1f1217 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++ b/drivers/net/ethernet/broadcom/bnx2.c | |||
@@ -872,8 +872,7 @@ bnx2_alloc_mem(struct bnx2 *bp) | |||
872 | 872 | ||
873 | bnapi = &bp->bnx2_napi[i]; | 873 | bnapi = &bp->bnx2_napi[i]; |
874 | 874 | ||
875 | sblk = (void *) (status_blk + | 875 | sblk = (status_blk + BNX2_SBLK_MSIX_ALIGN_SIZE * i); |
876 | BNX2_SBLK_MSIX_ALIGN_SIZE * i); | ||
877 | bnapi->status_blk.msix = sblk; | 876 | bnapi->status_blk.msix = sblk; |
878 | bnapi->hw_tx_cons_ptr = | 877 | bnapi->hw_tx_cons_ptr = |
879 | &sblk->status_tx_quick_consumer_index; | 878 | &sblk->status_tx_quick_consumer_index; |