ixgbe: Remove duplicate clear_bit() call
__IXGBE_RX_BUILD_SKB_ENABLED bit is already cleared. Signed-off-by: Igor Pylypiv <igor.pylypiv@gmail.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
17df5ae1b3
commit
451fe015b2
|
@ -4310,7 +4310,6 @@ static void ixgbe_set_rx_buffer_len(struct ixgbe_adapter *adapter)
|
||||||
if (test_bit(__IXGBE_RX_FCOE, &rx_ring->state))
|
if (test_bit(__IXGBE_RX_FCOE, &rx_ring->state))
|
||||||
set_bit(__IXGBE_RX_3K_BUFFER, &rx_ring->state);
|
set_bit(__IXGBE_RX_3K_BUFFER, &rx_ring->state);
|
||||||
|
|
||||||
clear_bit(__IXGBE_RX_BUILD_SKB_ENABLED, &rx_ring->state);
|
|
||||||
if (adapter->flags2 & IXGBE_FLAG2_RX_LEGACY)
|
if (adapter->flags2 & IXGBE_FLAG2_RX_LEGACY)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue