rtlwifi: Store loop index in local variable
authorMike McCormack <mikem@ring3k.org>
Mon, 30 May 2011 23:49:07 +0000 (08:49 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jun 2011 18:57:33 +0000 (14:57 -0400)
commit34ddb2077e5ced1a09a1dd2cbb82f807bfc5f88b
treedaf4d9264a55f9b9d146fc4f7f8d904f7b33e537
parentf2ea312cf4338ae187212e41b3dce97a666e3912
rtlwifi: Store loop index in local variable

_rtl_pci_rx_interrupt uses rtlpci->rx_ring[rx_queue_idx].idx a
few times, so store it in a separate variable.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c