ath9k: remove pointless wrapper ath_rc_rate_getidx()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 15 Jul 2009 00:13:59 +0000 (20:13 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:15 +0000 (15:05 -0400)
commit20f57215a2ff75f7c2e4004b7583e1fec925679e
treef81efaadb59a21cf724f63fcc90867eb858681fc
parent7466c524a42110e921e79b390b58bfc6ca6d249e
ath9k: remove pointless wrapper ath_rc_rate_getidx()

This is just calling another helper, so just use the other
helper directly. This should make it clear that when do not
find the next rate we stick to the current one.

Cc: Derek Smithies <derek@indranet.co.nz>
Cc: Chittajit Mitra <Chittajit.Mitra@Atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/rc.c