diff options
-rw-r--r-- | drivers/net/atl1c/atl1c_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c index 894d485bf5bc..5c64a5d91544 100644 --- a/drivers/net/atl1c/atl1c_main.c +++ b/drivers/net/atl1c/atl1c_main.c | |||
@@ -1095,10 +1095,8 @@ static void atl1c_configure_tx(struct atl1c_adapter *adapter) | |||
1095 | u32 max_pay_load; | 1095 | u32 max_pay_load; |
1096 | u16 tx_offload_thresh; | 1096 | u16 tx_offload_thresh; |
1097 | u32 txq_ctrl_data; | 1097 | u32 txq_ctrl_data; |
1098 | u32 extra_size = 0; /* Jumbo frame threshold in QWORD unit */ | ||
1099 | u32 max_pay_load_data; | 1098 | u32 max_pay_load_data; |
1100 | 1099 | ||
1101 | extra_size = ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN; | ||
1102 | tx_offload_thresh = MAX_TX_OFFLOAD_THRESH; | 1100 | tx_offload_thresh = MAX_TX_OFFLOAD_THRESH; |
1103 | AT_WRITE_REG(hw, REG_TX_TSO_OFFLOAD_THRESH, | 1101 | AT_WRITE_REG(hw, REG_TX_TSO_OFFLOAD_THRESH, |
1104 | (tx_offload_thresh >> 3) & TX_TSO_OFFLOAD_THRESH_MASK); | 1102 | (tx_offload_thresh >> 3) & TX_TSO_OFFLOAD_THRESH_MASK); |