From: Helmut Schaa Date: Mon, 26 Apr 2010 11:50:27 +0000 (+0200) Subject: rt2x00: rt2800lib: Remove redundant check for RT2872 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a8b424ea8b64da83b6868423dcd0f3c259fdde0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git rt2x00: rt2800lib: Remove redundant check for RT2872 Remove redundant check for RT2872. Signed-off-by: Helmut Schaa Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index adb690174d1d..12a49e0c4ac5 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -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