diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2006-06-27 18:06:41 +0200 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-06-27 18:06:41 +0200 |
commit | 0cbabbb0725fa34a37d6b7870b2d2fe17d1a0a94 (patch) | |
tree | eba11d71ae8995a3f51a1d0f701ec1fa849d09d4 /drivers/net | |
parent | e1000: fix CONFIG_PM blocks (diff) | |
download | linux-0cbabbb0725fa34a37d6b7870b2d2fe17d1a0a94.tar.xz linux-0cbabbb0725fa34a37d6b7870b2d2fe17d1a0a94.zip |
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/net')
-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, buffer_info = &rx_ring->buffer_info[i]; while (staterr & E1000_RXD_STAT_DD) { - buffer_info = &rx_ring->buffer_info[i]; ps_page = &rx_ring->ps_page[i]; ps_page_dma = &rx_ring->ps_page_dma[i]; #ifdef CONFIG_E1000_NAPI |