Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14316958ybl; Mon, 30 Dec 2019 07:56:38 -0800 (PST) X-Google-Smtp-Source: APXvYqwHVcofYyeNlFsZtYrEQFPLB/S9WbDQUDz1zbInUT2D1z/kxSDbSxYTg+9F1Rb7ZCVYOMRs X-Received: by 2002:a05:6830:1112:: with SMTP id w18mr69096752otq.356.1577721398864; Mon, 30 Dec 2019 07:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577721398; cv=none; d=google.com; s=arc-20160816; b=FV3MLug3JrfCcii/zFj0+x5tfFkoX5LZDYgFtWDcGrDg8J4zil2qrHkwb/7DiZL7cz 93q98sTnIHBOUlg0UyXIaS0Wv9SV3dZDueomLl3tGUBjYtdv/JAxBZJUmUSB7/59+YIi Pa2xWX9MI4plwKbYT55g0GYwAVyGyYpKNZ999xSNWt23VWwnGCXDbS0yQOVJmoUJM1nV IGlD+oUC9xUMSUqIa3pDq7P2gBuM10V3oCR8MB9vzVGEZ77moMd/QkBFgdbWmfaOOT8+ eSbzFtPXSm9pMV4E0g9YrbNGkkxAl37/xX85xvYCdB3CzPR3Fph8rxt+r/v1wmCjxEjl i9LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=58VefUNI1Hj0F9zlhiCoQzCFKomrgTvZEEVdE1v+Dik=; b=of0uUDxwAioE29qDFnaVJuvUDFqj6z0DKsAU2h7WYe8ZrdiVDKCXmEPbfW9CwTZeyl LbN9SkdGWjD/i5fmGg1eA9Ym97HAqllUzWOUUePI0cRu1bpo6epJtKcKpUxQzmU1/WW7 NHW+dK93lPf0prCToi2wK4RkytS2I2FMY14bv/f9ZTBi6gts2Os2RQRPkEWrJPMONRcT dkNtoGWLvklmMTsE6uw2z291NtambZFIAX2qMN40uOGY/5rr5ITF1VvhZ9ehwg0cZ+SN BdGGhQ8XBeRRzXpy8hqhxUnSieL7uz5WBAEUcQIaTEGSXfofJb5gtCaOQwXibwZNtHC3 ksWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QvQsPTvF; 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 24si21099716oip.248.2019.12.30.07.56.27; Mon, 30 Dec 2019 07:56:38 -0800 (PST) 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=QvQsPTvF; 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 S1727689AbfL3Pz1 (ORCPT + 99 others); Mon, 30 Dec 2019 10:55:27 -0500 Received: from mail-yb1-f193.google.com ([209.85.219.193]:42395 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727580AbfL3Pz1 (ORCPT ); Mon, 30 Dec 2019 10:55:27 -0500 Received: by mail-yb1-f193.google.com with SMTP id z10so6888361ybr.9 for ; Mon, 30 Dec 2019 07:55:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=58VefUNI1Hj0F9zlhiCoQzCFKomrgTvZEEVdE1v+Dik=; b=QvQsPTvFPAHEl8kd1fAlobXt7Yynz7ZVbroAE0f67rZRUxnllntgsohzrRVExGbpqB FeK+cfAAPwJkyP8TF2x3VNv27DQ+mpYpCe/BvCtLb/8uz1+3oZWc2dvTNs1jNli9qTjs okxHr8Boi6PmgUawTXoNacswcwGNos68qHRqQwMHs6FuSo4Nei7TeiWq9xT6s4z7Pr9S FaGDW7f9yzkwQK8hZIt277cdlADpt8fQ53Ag2feILHT10cGI7h7/ZXS6MZiaa28Uz+0J xa1f0on8LtbvPpzmrEizFHe8sBiEK7CcWeJkSrVYgEPfOPse0VlLTVUMBIEq208O3m/5 aS4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=58VefUNI1Hj0F9zlhiCoQzCFKomrgTvZEEVdE1v+Dik=; b=omyA831p6XhbjnIwwK4MdZTs9J8RvtG+ofMAvfgwTzwmu1KIdnhMyR54g22K6D/2Uh l2RZz2qqfZys77kZf9SBiDbuum80/ng8UCL608YJZcltbnvZ70dLs2OoQs3oJSKg7sRP NKolEAOUwblry1TjhzxrHLPBdo5gsIqVeESbDmHm53KztBUQEyKcHjBl12EZAE4ZYup6 alTK4Pa1egk6hclTGyovctdv/dhcdtAcJb61ZHZjTQyoa0rNLUGksLSjzukKxW0TYo/j 8WRzBwu1u9NrkM3sJ5t/Ou41FhcxuklBopusjf7IZjSj0UHpstNSpzeWhdnxcRu9tfzn iz7w== X-Gm-Message-State: APjAAAUXYKx+klduHQ2KuDeHrlpvm1RNLk+oYqp1Jn1LOYYXLl3ZcDZz zVDgXK8R4tb4+FeINSCr8J8= X-Received: by 2002:a25:bfca:: with SMTP id q10mr46486462ybm.223.1577721326827; Mon, 30 Dec 2019 07:55:26 -0800 (PST) Received: from user-ThinkPad-X230 ([2601:cd:4005:d680:598a:ed33:1bb1:b28a]) by smtp.gmail.com with ESMTPSA id m30sm18008899ywh.12.2019.12.30.07.55.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Dec 2019 07:55:26 -0800 (PST) Date: Mon, 30 Dec 2019 10:55:20 -0500 From: Amir Mahdi Ghorbanian To: "forest@alittletooquiet.net>" , quentin.deslandes@itdev.co.uk, indigoomega021@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: vt6656: remove unnecessary parenthesis Message-ID: <20191230155520.GA27072@user-ThinkPad-X230> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unnecessary parenthesis to abide by kernel coding-style. Signed-off-by: Amir Mahdi Ghorbanian --- drivers/staging/vt6656/baseband.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c index 8d19ae71e7cc..25fb19fadc57 100644 --- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -381,8 +381,8 @@ int vnt_vt3184_init(struct vnt_private *priv) dev_dbg(&priv->usb->dev, "RF Type %d\n", priv->rf_type); - if ((priv->rf_type == RF_AL2230) || - (priv->rf_type == RF_AL2230S)) { + if (priv->rf_type == RF_AL2230 || + priv->rf_type == RF_AL2230S) { priv->bb_rx_conf = vnt_vt3184_al2230[10]; length = sizeof(vnt_vt3184_al2230); addr = vnt_vt3184_al2230; @@ -461,8 +461,8 @@ int vnt_vt3184_init(struct vnt_private *priv) if (ret) goto end; - if ((priv->rf_type == RF_VT3226) || - (priv->rf_type == RF_VT3342A0)) { + if (priv->rf_type == RF_VT3226 || + priv->rf_type == RF_VT3342A0) { ret = vnt_control_out_u8(priv, MESSAGE_REQUEST_MACREG, MAC_REG_ITRTMSET, 0x23); if (ret) -- 2.17.1