diff options
| -rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index ed96f309bca8..c28bc318cec6 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
| @@ -6111,13 +6111,6 @@ process_pkt: | |||
| 6111 | tp->rx_stats.bytes += pkt_size; | 6111 | tp->rx_stats.bytes += pkt_size; |
| 6112 | u64_stats_update_end(&tp->rx_stats.syncp); | 6112 | u64_stats_update_end(&tp->rx_stats.syncp); |
| 6113 | } | 6113 | } |
| 6114 | |||
| 6115 | /* Work around for AMD plateform. */ | ||
| 6116 | if ((desc->opts2 & cpu_to_le32(0xfffe000)) && | ||
| 6117 | (tp->mac_version == RTL_GIGA_MAC_VER_05)) { | ||
| 6118 | desc->opts2 = 0; | ||
| 6119 | cur_rx++; | ||
| 6120 | } | ||
| 6121 | } | 6114 | } |
| 6122 | 6115 | ||
| 6123 | count = cur_rx - tp->cur_rx; | 6116 | count = cur_rx - tp->cur_rx; |
