Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1129564imm; Wed, 25 Jul 2018 12:01:36 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc6BrLcdPtiO8VGHEedRz0hpT69cW7m9/U5vf4agvcTb1jsUtOtf0o3f2Kqh/e5qyon+X9g X-Received: by 2002:a17:902:9693:: with SMTP id n19-v6mr22207864plp.212.1532545295941; Wed, 25 Jul 2018 12:01:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532545295; cv=none; d=google.com; s=arc-20160816; b=uE5u8YRnAgkOxIFdsEjEBdUoPKzhzMOAU098LD4FuvwTuC6GQgkn18YrP9SgjaOmeT zteNM637tQgq9rm0VH7FCbMXYSe9Dmrewpwb0ZkaamEI2EPA/7aznNLr4eiwGIEAHi0l QMbFqAeNP0NIfrQv6b9tFYGYklNSHO3MXB/hTZxjuUet0mrK8pOfyurCQRTkjgnO82Ej 9RrEhWJqutsqgeuv7AhMnGb16+ltkKGBUqXz/DP7QF+P19y4qUXkaMmL8yPLtvdjmjIl eWq7nw3RIuoO/8l69I3FUQx07prWopzMaSh8DC/x8IJS+hFSr5RAMw2FYX2PW4diA/9c Efhw== 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=O5IhaNKKHCy5sgqF9CPRQ7cLxpnYhl/t9aW/DjTeM6E=; b=BlgV2R0AsVRxKfUYi89JRMpjQ+zCJ1Fk7e5XmZbuKM6x9STRvuxsYh69rMSX6B+M+h /gT7/poNEiALz+tkYxT6TmolBXjZ7FTr2mrdwEeEjNm0hgPlEIChJKCnipEn4XBRYgGr 5v4J7QZrNstK7B9ofo+cCeF5wEm4xmoPs5xVJ+rk2/5dMm4cmXsDbGVrKjnfmg4leGEN eCkZoA6N6QmkW5lO/0IM16tV2GCr+Jv6NA5v0jUSleLvmPKp65r3hEHAJ7n5BBshOxw8 3/j+bewHqgTCJGR6Ol+DxSQCLDRQupnpCwtpKyRxk+Zf5RN7YPv8T1nCn7Sqi8C7i4VZ W7Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gmLhCcAQ; 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 x3-v6si13272783plb.478.2018.07.25.12.01.20; Wed, 25 Jul 2018 12:01:35 -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=gmLhCcAQ; 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 S1730260AbeGYUN2 (ORCPT + 99 others); Wed, 25 Jul 2018 16:13:28 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:50523 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729354AbeGYUN2 (ORCPT ); Wed, 25 Jul 2018 16:13:28 -0400 Received: by mail-wm0-f68.google.com with SMTP id s12-v6so3788899wmc.0; Wed, 25 Jul 2018 12:00:29 -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=O5IhaNKKHCy5sgqF9CPRQ7cLxpnYhl/t9aW/DjTeM6E=; b=gmLhCcAQK7LeuBHW+TxgBg2jCjeFEJeh6W2Uydk/urqyZN1NtJ96rAPADvLpoMNNnP q68Q8i9CzUQ1F3Rz2qMBsQ2UJ558yOaTMeQfZggW+Np5gNBAanKNjxhY79m8y2bLItPW xQ+lxcFER1NuilSs2peOgbJ2liOM9jI7BnWQ10j4a+8E1zoGMK3Zi+dfqiLipq/OFKaI Cfo3R+S11jBHjeow6hjtP5mkZbdXD2Uh2OjWGDH3FBEuiN/oUiKD+LO8wHvUrbbLUy3c fnGGLQH4vqdoHqQJm7TG25SaU7RV2I9bxl90v/kpEM92xLe2UmPrXd06K/NtMKiPWmen abfg== 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=O5IhaNKKHCy5sgqF9CPRQ7cLxpnYhl/t9aW/DjTeM6E=; b=i6kKLNMhou0Pevr7fMygx+WQ0zx2odyfPUTSl5WhkCgqPiMLS5zU3CSeoh/fXZGIRa CRz8gD4Yw6mTTFG27eMkyzT/1fgTqZvqXeUFeiEBp79sSCwZEtRe7lAFfzYIauqeJlqD I8UM7FQ177MELdMUzp9PXPUYyudWsp5rLhYPTz09vJgiY8YrestH3R2SjbzueckC8QMU 3OqMTIebo5QLa9jEOeiaETgNMy6Oa2B4x76nnb9GMUQicu5qVXQ19tDUVjJIAoZKzLpe tcUw1DZ3hsOGYohnSu0LrnenZ4YoGfSRdc9v0B7Jv+OaK4AnxfiHrXP0OTZjDvda3Aj1 bu6A== X-Gm-Message-State: AOUpUlE9xlcWUeNNDBLBJg4aNsAIVfTdl6AYj+74G7ZdGD718gE9OA6r J+FHAo1dij4Cp2up+VxAeOA= X-Received: by 2002:a1c:1c52:: with SMTP id c79-v6mr5168575wmc.147.1532545228117; Wed, 25 Jul 2018 12:00:28 -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 j131-v6sm6841597wmb.25.2018.07.25.12.00.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Jul 2018 12:00:27 -0700 (PDT) From: Varsha Rao To: Lukas Bulwahn , Nicholas Mc Guire , Solomon Peachy , 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: cw1200: Remove extra parentheses Date: Wed, 25 Jul 2018 21:00:07 +0200 Message-Id: <20180725190011.4317-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 unnecessary parentheses to fix the extraneous parentheses clang warning. Signed-off-by: Varsha Rao --- drivers/net/wireless/st/cw1200/txrx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/st/cw1200/txrx.c b/drivers/net/wireless/st/cw1200/txrx.c index f7b1b0062db3..8c800ef23159 100644 --- a/drivers/net/wireless/st/cw1200/txrx.c +++ b/drivers/net/wireless/st/cw1200/txrx.c @@ -624,9 +624,9 @@ cw1200_tx_h_bt(struct cw1200_common *priv, priority = WSM_EPTA_PRIORITY_ACTION; else if (ieee80211_is_mgmt(t->hdr->frame_control)) priority = WSM_EPTA_PRIORITY_MGT; - else if ((wsm->queue_id == WSM_QUEUE_VOICE)) + else if (wsm->queue_id == WSM_QUEUE_VOICE) priority = WSM_EPTA_PRIORITY_VOICE; - else if ((wsm->queue_id == WSM_QUEUE_VIDEO)) + else if (wsm->queue_id == WSM_QUEUE_VIDEO) priority = WSM_EPTA_PRIORITY_VIDEO; else priority = WSM_EPTA_PRIORITY_DATA; -- 2.17.0