Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1122946imm; Wed, 25 Jul 2018 11:54:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeoXIILwP1QB+EbQUoyZy1Qz010qSsx9c5lAbn7dmm2jVXfOSNSTxdtMIJ1KakhP3VluFTo X-Received: by 2002:a62:a3d1:: with SMTP id q78-v6mr23149899pfl.5.1532544864813; Wed, 25 Jul 2018 11:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532544864; cv=none; d=google.com; s=arc-20160816; b=WMiOcKLJao/un392CKLXfyljjFEdYdl+Ye/m2efcoe3E3wKJd1gwc8YWq32RbDxlKg uDXOck3XxpKs6YIlAWKXudFg8GjGEkgmFfnWRIXrnWn9AZ3KNYBDGs0tvfmqMzkoZ8ER D37Dnn+eG3PxHIEHKIg6UFBOq4J0uIhtdQr2fBfjhEBM6iCom9MqMCR2DLVv+e0ZQRpT 5jUJiYcDeloFjt+fdmdiDifllNeel8UgfY7tA/aCgkByOfqrnkTQwk/TBERxtLBcSPdl SlLssGj/WGeSu65uFhMopVnTe+kkiThNow1brWShnQppJtFqFszCS3ANs2KA6s316RN9 3+zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=T2XmLz4t7bJY8qwNpH6u+IO0Q4CPhV2M+ECjf20HV8w=; b=QkJzrelaXiko7B0NmpixctqL2cXfwp15L3gk6c6xzXq4M9TcW5svuQ3UbqsaUXekqA YoZCF/NLUHfRjq6eRe5hNMXKHCR353417WvNJvDjm/6NcFKr15gP8i+7BgDdG2Z33SYl IeFwmEISL5RpjVf52/6ZwFSq90Mop9lOcWFRl1iUVEZcXPNdWypZfhpQfKNFNYXmontA wgXUW2X2klwzErPT2hpBeI+fSCaTu7NKaOylmbiRGJ1a2JzutPx24OmMt4EuzG+QlhXB vtgBugIvKDRiY+BFqZnslqVty27UL/oTTEVdC9KecXpfB2fCBL/1HMGrqcKPeJYZWWLG SzTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="t0A/ZhIo"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y191-v6si16504080pfg.246.2018.07.25.11.54.09; Wed, 25 Jul 2018 11:54:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="t0A/ZhIo"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731155AbeGYUGR (ORCPT + 99 others); Wed, 25 Jul 2018 16:06:17 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:54158 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729213AbeGYUGQ (ORCPT ); Wed, 25 Jul 2018 16:06:16 -0400 Received: by mail-wm0-f65.google.com with SMTP id s9-v6so7078131wmh.3; Wed, 25 Jul 2018 11:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=T2XmLz4t7bJY8qwNpH6u+IO0Q4CPhV2M+ECjf20HV8w=; b=t0A/ZhIos3bHLy4735EXMJX6WSm1+4LTbjEOb9Cyqcuk2hgwp2BRdh+kpXitErOGsg vutgXM/LWxCQql1rloNjMFIN/i6xi0iv6UrWWj7d+s45W+guuSpv5UjhQYnsAF26Xxlk KMzf8VD3Kvx5JdGBgu89KpZRUucibFg9XB0kvODeXOVhg7qgYIrhWT0Kremd7Q3zDHl+ eb5igBU0lMkSpVyuElkAnreeM3MxfLnaCn2L9P9FDrNYY5F+gyUu5kU/s2XIlEvepLlW NbC2zgHXAo1BPumw+MUZzYSqMaWSzSdpfuvq6bVVZenrlEbLp4A1IaGQX275IMd2kfZQ tRDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=T2XmLz4t7bJY8qwNpH6u+IO0Q4CPhV2M+ECjf20HV8w=; b=WEfITpUBsuvFRCsz6UnurfPPDzp2RSAmbHdviq8ClDOtYLytEs6ektO0H6IKpT5MUH hqpLrqtvfDx8dhPrU+YjvSsGAii2Z70A5Vy+Ms8X6Nz5hUzg7uRuqX6oFqadYtRwp3Qd SXvWP2l8PnTH4+vDYm6Sky3QOJCGcQBb9wOEoFuqswxSy/LOKqqDZvEXEfONmF5QL+bo A9slQZFupvWY2OeC9DhAM22f/Hapa/fbrnU9WC6RkUqwlkIjQfdg04R1o1e447MOsgIm rPwVAumMMS+KCRGk/TSzMXRuBEgyzZ3HNl4zgOazbqk1B/drC73s0/r21YVSANN26M4F ChRw== X-Gm-Message-State: AOUpUlF55ZoIvQKW6MsJbD5UiZu40luH3LPn0zX4FtT/H4AYthvKoqU/ XZHpkEJtizUraG5tjUKh+Ug= X-Received: by 2002:a1c:82c8:: with SMTP id e191-v6mr5008152wmd.35.1532544798374; Wed, 25 Jul 2018 11:53:18 -0700 (PDT) Received: from euri.wifirst.net (eth-west-pareq2-46-193-2-21.wb.wifirst.net. [46.193.2.21]) by smtp.googlemail.com with ESMTPSA id e204-v6sm4928475wma.8.2018.07.25.11.53.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Jul 2018 11:53:17 -0700 (PDT) From: Varsha Rao To: Lukas Bulwahn , Nicholas Mc Guire , QCA ath9k Development , Kalle Valo , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Varsha Rao Subject: [PATCH] net: wireless: ath9k: Remove unnecessary parentheses Date: Wed, 25 Jul 2018 20:53:03 +0200 Message-Id: <20180725185305.4118-1-rvarsha016@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove extra parentheses to fix the clang warning of extraneous parentheses. Signed-off-by: Varsha Rao --- drivers/net/wireless/ath/ath9k/debug_sta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/debug_sta.c b/drivers/net/wireless/ath/ath9k/debug_sta.c index a6f45f1bb5bb..ed8b77a74630 100644 --- a/drivers/net/wireless/ath/ath9k/debug_sta.c +++ b/drivers/net/wireless/ath/ath9k/debug_sta.c @@ -116,7 +116,7 @@ void ath_debug_rate_stats(struct ath_softc *sc, if (rxs->rate_idx >= ARRAY_SIZE(rstats->ht_stats)) goto exit; - if ((rxs->bw == RATE_INFO_BW_40)) + if (rxs->bw == RATE_INFO_BW_40) rstats->ht_stats[rxs->rate_idx].ht40_cnt++; else rstats->ht_stats[rxs->rate_idx].ht20_cnt++; -- 2.17.0