rt2x00: Store queue idx and entry idx in data_ring and data_entry
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 6 Jan 2008 22:39:25 +0000 (23:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:09:24 +0000 (15:09 -0800)
commit042671040db95a896c5ca960b9b656692a787892
treeb96a4e931b65c912f2800b02480b14008125c01b
parent3867705bb773818b39e0ca8d02ccb71fb4d2ffb8
rt2x00: Store queue idx and entry idx in data_ring and data_entry

Store the queue idx inside structure data_ring
Store the entry idx inside structure data_entry
This saves us a few calls to ARRAY_INDEX() which is now unused.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00debug.c
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00ring.h
drivers/net/wireless/rt2x00/rt61pci.c