]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9827a7ea49d427a64fcebf4c17ffa4361d14b8b8
tree48503dc6ef23d39a0c5d98cf00d865f3b655d6d4
parentaa4783da0f9c2aed059afc917d7f69579641b25b
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