OSDN Git Service

rt2x00: rt2800lib: Remove redundant check for RT2872
authorHelmut Schaa <helmut.schaa@googlemail.com>
Mon, 26 Apr 2010 11:50:27 +0000 (13:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Apr 2010 18:21:25 +0000 (14:21 -0400)
Remove redundant check for RT2872.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c

index adb6901..12a49e0 100644 (file)
@@ -2022,7 +2022,6 @@ int rt2800_validate_eeprom(struct rt2x00_dev *rt2x00dev)
                EEPROM(rt2x00dev, "Antenna: 0x%04x\n", word);
        } else if (rt2x00_rt(rt2x00dev, RT2860) ||
                   rt2x00_rt(rt2x00dev, RT2870) ||
-                  rt2x00_rt(rt2x00dev, RT2872) ||
                   rt2x00_rt(rt2x00dev, RT2872)) {
                /*
                 * There is a max of 2 RX streams for RT28x0 series