rt2x00: Clean up use of rt2x00_intf_is_pci.
authorGertjan van Wingerde <gwingerde@gmail.com>
Mon, 23 Nov 2009 21:44:49 +0000 (22:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Nov 2009 20:04:35 +0000 (15:04 -0500)
commitee303e543e7d5f0d38197298adf0c4fb079094e9
tree48503dc6ef23d39a0c5d98cf00d865f3b655d6d4
parent6a6f455ca4120ae0c6a1bb77d58ba2f5e3e96afd
rt2x00: Clean up use of rt2x00_intf_is_pci.

RT chipsets are unique across both PCI and USB busses, and don't overlap.
Therefore there is no need to test for bus type when only checking for
chipset type. Remove the redundant checks.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <ivdoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c