From patchwork Thu Feb 27 16:06:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 3734381 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 58ECEBF13A for ; Thu, 27 Feb 2014 16:08:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8963720148 for ; Thu, 27 Feb 2014 16:08:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD7B120122 for ; Thu, 27 Feb 2014 16:08:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753260AbaB0QHe (ORCPT ); Thu, 27 Feb 2014 11:07:34 -0500 Received: from mout.gmx.net ([212.227.17.20]:52653 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753173AbaB0QH3 (ORCPT ); Thu, 27 Feb 2014 11:07:29 -0500 Received: from Workstation4.fritz.box ([109.91.85.119]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MZPer-1WX1bW1wh3-00LCXS for ; Thu, 27 Feb 2014 17:07:27 +0100 From: xypron.glpk@gmx.de To: Larry.Finger@lwfinger.net Cc: chaoming_li@realsil.com.cn, linville@tuxdriver.com, felipensp@gmail.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Heinrich Schuchardt Subject: [PATCH] Remove redundant if clause Date: Thu, 27 Feb 2014 17:06:58 +0100 Message-Id: <1393517218-11043-1-git-send-email-xypron.glpk@gmx.de> X-Mailer: git-send-email 1.7.10.4 X-Provags-ID: V03:K0:qCjW5aUSaH1Uxj62IZ4DeajDM1JL1B4xjrJjfTGDROVQPEtiLX9 VkLo3TXkuaoZW6XlzVfDcXb/Nj2QPZ7JNR6ZhRjJZRv7XipH2CajhVc0V2cjKJKIs/XLV6P JmRQCKGdSHojsg2DndV/u37r05Wt0r4m9dTPfbysB8mKgAP4RMQd35XaFIAg0QJDlKropeh P1iQXlVBlOpVbmt9tAxFw== Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Heinrich Schuchardt Signed-off-by: Heinrich Schuchardt --- drivers/net/wireless/rtlwifi/rtl8192se/rf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/rf.c b/drivers/net/wireless/rtlwifi/rtl8192se/rf.c index 92d38ab..78a81c1 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192se/rf.c +++ b/drivers/net/wireless/rtlwifi/rtl8192se/rf.c @@ -52,7 +52,7 @@ static void _rtl92s_get_powerbase(struct ieee80211_hw *hw, u8 *p_pwrlevel, /* We only care about the path A for legacy. */ if (rtlefuse->eeprom_version < 2) { pwrbase0 = pwrlevel[0] + (rtlefuse->legacy_httxpowerdiff & 0xf); - } else if (rtlefuse->eeprom_version >= 2) { + } else { legacy_pwrdiff = rtlefuse->txpwr_legacyhtdiff [RF90_PATH_A][chnl - 1];