diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2011-01-27 21:28:26 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-02-11 11:56:03 -0500 |
commit | 3b2ee94300277220452332d2ebadf5b5699947b5 (patch) | |
tree | aefdf26c99ef4902eb8c34dc121f621b3822ec05 /drivers/net/ixgbe/ixgbe_main.c | |
parent | 5977deaa6dde87dc6557570cb1088537e55b9646 (diff) |
ixgbe: fix namespace issue with ixgbe_dcb_txq_to_tc
We didn't need the prototype and it was causing namespace complaints so
I made it static.
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index c2e09b9cff46..34fdda21dba3 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -648,7 +648,7 @@ void ixgbe_unmap_and_free_tx_resource(struct ixgbe_ring *tx_ring, | |||
648 | * | 648 | * |
649 | * Returns : a tc index for use in range 0-7, or 0-3 | 649 | * Returns : a tc index for use in range 0-7, or 0-3 |
650 | */ | 650 | */ |
651 | u8 ixgbe_dcb_txq_to_tc(struct ixgbe_adapter *adapter, u8 reg_idx) | 651 | static u8 ixgbe_dcb_txq_to_tc(struct ixgbe_adapter *adapter, u8 reg_idx) |
652 | { | 652 | { |
653 | int tc = -1; | 653 | int tc = -1; |
654 | int dcb_i = adapter->ring_feature[RING_F_DCB].indices; | 654 | int dcb_i = adapter->ring_feature[RING_F_DCB].indices; |