From patchwork Mon Apr 26 11:50:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helmut Schaa X-Patchwork-Id: 95058 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3QBokvE006447 for ; Mon, 26 Apr 2010 11:50:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751501Ab0DZLup (ORCPT ); Mon, 26 Apr 2010 07:50:45 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:21230 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210Ab0DZLuo (ORCPT ); Mon, 26 Apr 2010 07:50:44 -0400 Received: by fg-out-1718.google.com with SMTP id d23so2498742fga.1 for ; Mon, 26 Apr 2010 04:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:mime-version:content-type:content-transfer-encoding :message-id; bh=l0rpI/NJmDrP1AxNhNdQI4jJNxl6HOmha/gAm7aF7GM=; b=GPkXCvcYr4BFs20Lf/dGJFJabYTTc3729zLIpm99u1pvPtlTb8jfxs72GWc2+xLQw7 69yKfR3a1jsDqWD35aNaPZVVgW3qv9v50Sgz4LMU9M4XLQWd8WJuS3Zt5kQWt8QwRXRN BGvxNM+9Opbqv+l1V/pRzYbYSseLFUzB8/I54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:cc:mime-version:content-type :content-transfer-encoding:message-id; b=OOWwsQ+d4oEuwyY4+FiBWpcD8TZnshr/L6xntPbnMQZJHnlsKjfOpc/SsCszIfatLJ Mm3c3T/MbhFbZW0WaS2EsXUwBFCvrEjnw/R3nGoDNH/UDpZd91JKoOgtpnMj4ZLYbVPo KsWt6OQWj6U8xVJxyL5dWF/KWhLgCyGhrMyAI= Received: by 10.87.45.15 with SMTP id x15mr6978539fgj.42.1272282638422; Mon, 26 Apr 2010 04:50:38 -0700 (PDT) Received: from helmutmobil.localnet (p5495A8DA.dip.t-dialin.net [84.149.168.218]) by mx.google.com with ESMTPS id 4sm4882097fgg.17.2010.04.26.04.50.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Apr 2010 04:50:37 -0700 (PDT) From: Helmut Schaa To: John Linville Subject: [PATCH] rt2x00: rt2800lib: Remove redundant check for RT2872 Date: Mon, 26 Apr 2010 13:50:27 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.34-rc5-wl-default; KDE/4.3.5; x86_64; ; ) Cc: Ivo van Doorn , Gertjan van Wingerde , linux-wireless@vger.kernel.org MIME-Version: 1.0 Message-Id: <201004261350.27212.helmut.schaa@googlemail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 26 Apr 2010 11:50:51 +0000 (UTC) diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 1358d9a..b30d59c 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -2018,7 +2018,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