public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Quentin Deslandes <quentin.deslandes@itdev.co.uk>
To: Amir Mahdi Ghorbanian <indigoomega021@gmail.com>
Cc: "forest@alittletooquiet.net>" <gregkh@linuxfoundation.org>,
	"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] staging: vt6656: remove unnecessary parenthesis
Date: Mon, 6 Jan 2020 21:29:11 +0000	[thread overview]
Message-ID: <20200106212909.GA54084@jiffies> (raw)
In-Reply-To: <20191230155520.GA27072@user-ThinkPad-X230>

On 12/30/19 10:55:20, Amir Mahdi Ghorbanian wrote:
> Remove unnecessary parenthesis to abide by kernel
> coding-style.
> 
> Signed-off-by: Amir Mahdi Ghorbanian <indigoomega021@gmail.com>

Reviewed-by: Quentin Deslandes <quentin.deslandes@itdev.co.uk>

> ---
>  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
> 

      reply	other threads:[~2020-01-06 21:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-30 15:55 [PATCH] staging: vt6656: remove unnecessary parenthesis Amir Mahdi Ghorbanian
2020-01-06 21:29 ` Quentin Deslandes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200106212909.GA54084@jiffies \
    --to=quentin.deslandes@itdev.co.uk \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=indigoomega021@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox