Skip to content

Commit

Permalink
ixgbe: fix compile failure in ixgbe_init_mbx_params_pf
Browse files Browse the repository at this point in the history
This commit:

    commit d7c8a29
    Author: Emil Tantilov <emil.s.tantilov@intel.com>
    Date:   Thu Mar 3 09:25:02 2011 +0000

        ixgbe: improve logic in ixgbe_init_mbx_params_pf

incorrectly added a line that accessed mbx->udelay.  I'm sure the intent
was mbx->usec_delay.  This patch fixes the compilation error.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Andy Gospodarek authored and David S. Miller committed Mar 8, 2011
1 parent fdb838c commit 5217e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ixgbe/ixgbe_mbx.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ void ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw)
return;

mbx->timeout = 0;
mbx->udelay = 0;
mbx->usec_delay = 0;

mbx->stats.msgs_tx = 0;
mbx->stats.msgs_rx = 0;
Expand Down

0 comments on commit 5217e87

Please sign in to comment.