]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 adb690174d1db19a41cc298897e42ce7bcbdb028..12a49e0c4ac53a22817c160b5b68cd77afb0c9aa 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