diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2006-06-27 12:06:41 -0400 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-06-27 12:06:41 -0400 |
commit | 0cbabbb0725fa34a37d6b7870b2d2fe17d1a0a94 (patch) | |
tree | eba11d71ae8995a3f51a1d0f701ec1fa849d09d4 /drivers | |
parent | 6fdfef162426766611b1f640138e4720f56e45f8 (diff) |
e1000: small performance tweak by removing double code
buffer_info is already filled at the end of this while() loop.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 7cf5e5dce0da..76e36a4fd985 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -3717,7 +3717,6 @@ e1000_clean_rx_irq_ps(struct e1000_adapter *adapter, | |||
3717 | buffer_info = &rx_ring->buffer_info[i]; | 3717 | buffer_info = &rx_ring->buffer_info[i]; |
3718 | 3718 | ||
3719 | while (staterr & E1000_RXD_STAT_DD) { | 3719 | while (staterr & E1000_RXD_STAT_DD) { |
3720 | buffer_info = &rx_ring->buffer_info[i]; | ||
3721 | ps_page = &rx_ring->ps_page[i]; | 3720 | ps_page = &rx_ring->ps_page[i]; |
3722 | ps_page_dma = &rx_ring->ps_page_dma[i]; | 3721 | ps_page_dma = &rx_ring->ps_page_dma[i]; |
3723 | #ifdef CONFIG_E1000_NAPI | 3722 | #ifdef CONFIG_E1000_NAPI |