Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1120445imm; Wed, 25 Jul 2018 11:51:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfzuOEsF108aS1jZ+L1fLNTKBA8PJjC+2JVJDHNapMPTYjGplszY4U5hVIaQ+NYCDtmZCNI X-Received: by 2002:a62:87ce:: with SMTP id i197-v6mr23351030pfe.62.1532544678755; Wed, 25 Jul 2018 11:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532544678; cv=none; d=google.com; s=arc-20160816; b=tJALQJrKfj1aL33/gBXxZKdlqEF24oWlpmYa66f72H8MNEEInT9tYTTzlVtqmLCSnH R9eoea77YXITfcMIpUsx1wQD8EiLyUMWuTl7nUaLQqgM8qlaM8vGb176NmuWDbdUd8yC PTJhqXvRYOzRv+msryFQ94sQ9HTJrFeap5w6vEXZhXREVM/vW96k83lF1GpmwzNs5dwz nW9S0rVarGPM06Hqu66IGVWPAvvYKqHFhplIz85OXX4MQb4wk8WDFRBfNeqmeLA1IB2f 1bC8v7zeJrTBDIrooak4dV30Yj3sA5aFTep6oqtr0laDOGxLXxxeurSzkZ8d2vTLXMSz c3HA== 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=IR4dRtFeBOzwrZBIMPRfMg7fGDrniXCfHPGE7xwhZ80=; b=NcVEXE64qYN3dr+cFSwPjjl0eWt026t5UTpyCZ8ryHkc/fcHmf+x8dvemztnnQogmU ZVMZfybgkTh2dT9IFTF6gKCXcAdNSXCrAtKPnEv+Et2btAJZbWTG/QkoDtwHFKN+V4hy 5EPv1v3PfONTeSBLWmqiAX9uHp16scxpnfXld1yE08unJPeDjs66BYLjocKVBuwK/aoK BSsyHmyzwUVZ/DAZIk+PpgxrMtiPDdxEwoEdS+VkaXO2edYGnI0N/VRQa9hDbG3WKLOF LcCWZlMVr1/cMzTvw7ztRWXF3iZ1SaPMcfEYkTW3yyELNgXrQe91mzfHsKjRlLsiXvOx 3FtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="X5BZDx/9"; 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 c9-v6si6455348pgj.654.2018.07.25.11.51.04; Wed, 25 Jul 2018 11:51:18 -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="X5BZDx/9"; 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 S1731270AbeGYUDC (ORCPT + 99 others); Wed, 25 Jul 2018 16:03:02 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:35829 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729354AbeGYUDC (ORCPT ); Wed, 25 Jul 2018 16:03:02 -0400 Received: by mail-wr1-f65.google.com with SMTP id a3-v6so8357337wrt.2; Wed, 25 Jul 2018 11:50:05 -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=IR4dRtFeBOzwrZBIMPRfMg7fGDrniXCfHPGE7xwhZ80=; b=X5BZDx/9nN80jkIYlLTx4b5qwJECbhx+xRXapJ1WunX9Tbx819I2KZ8QkjaVchFPoK usNVOnSsSxpD5jWAHDGLHujw6iCNE66R+OUAUDlrXFA4ae6JLjYnDE5tDifUoeqmPU7U XIs/Qj+Ot0EwZ6GmJmXQkHlW5UpFkJbPxrSh7NofdnA8MR9Rw5HFVj5730eD6lzBZNTS NYQxuYz5h1GNMargjgAun+Stb9XMX5KwXSQgE0PAPSCdKlb/7Jp1j8oUcgl2VwiX5euR 8GphjYz3Ls96heu94fu44epllksLCosG0TMUg4AUWHCsmgSCNPKQG4YWP7JbmVvDRq19 1ngA== 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=IR4dRtFeBOzwrZBIMPRfMg7fGDrniXCfHPGE7xwhZ80=; b=jewy7UdidVib3arBtrNiCol9yIFU1tgsqJPE0RKPg48kqhJ5XyG1lwMhRhfwF++dCQ 8erjbrE3kfeXqRMuryf+7G7uw3HF0e7UR4DBsmd913EHHAl9LtuYQgv2/fDPfGbAInpZ Q5hleWuT7GvdZY2tQ7FAr7veDRSQjyGFeeju3/SAUxXZhvW57ETfnwNlvBXjtMZV7+16 /5peugInnc0sWC2BAkaYkQs3gIpVmEFuvwf5it2R/pikz2JFE7xWdwrYvoKc3Rj3B3uv RkoZwm9C6Jqqt34DEHYXNiT9KjerVO2v4Td4kFoN2k4Ys0vyw9heGroEBUAEHEdpLDXG FA7g== X-Gm-Message-State: AOUpUlH86cdkzUgqvAdGkvvz7FaNIVsRP+BslB9sIqM1c6yMTLD05exy 3/ZxcbvRJ+egWkH0OnaTUTP6KZC0gCI= X-Received: by 2002:adf:ac2d:: with SMTP id v42-v6mr15553811wrc.142.1532544604548; Wed, 25 Jul 2018 11:50:04 -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 q140-v6sm8895066wmb.35.2018.07.25.11.50.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Jul 2018 11:50:03 -0700 (PDT) From: Varsha Rao To: Lukas Bulwahn , Nicholas Mc Guire , 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: ath6kl: Remove unnecessary parentheses Date: Wed, 25 Jul 2018 20:49:48 +0200 Message-Id: <20180725184949.4032-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/ath6kl/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c index 808fb30be9ad..451297441532 100644 --- a/drivers/net/wireless/ath/ath6kl/main.c +++ b/drivers/net/wireless/ath/ath6kl/main.c @@ -639,7 +639,7 @@ void ath6kl_connect_event(struct ath6kl_vif *vif, u16 channel, u8 *bssid, memcpy(vif->bssid, bssid, sizeof(vif->bssid)); vif->bss_ch = channel; - if ((vif->nw_type == INFRA_NETWORK)) { + if (vif->nw_type == INFRA_NETWORK) { ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx, vif->listen_intvl_t, 0); ath6kl_check_ch_switch(ar, channel); -- 2.17.0