All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Michael Straube <straube.linux@gmail.com>
Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: rtl8723bs: fix comparsion to true/false and brace issues
Date: Sat, 30 Jun 2018 12:08:24 +0200	[thread overview]
Message-ID: <m2tvpkegdj.fsf@linux-m68k.org> (raw)
In-Reply-To: <20180630100252.572-1-straube.linux@gmail.com> (Michael Straube's message of "Sat, 30 Jun 2018 12:02:52 +0200")

On Jun 30 2018, Michael Straube <straube.linux@gmail.com> wrote:

> @@ -115,11 +115,10 @@ s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter)
>  
>  void rtw_btcoex_SetManualControl(struct adapter *padapter, u8 manual)
>  {
> -	if (true == manual) {
> +	if (manual)
>  		hal_btcoex_SetManualControl(padapter, true);
> -	} else{
> +	else
>  		hal_btcoex_SetManualControl(padapter, false);
> -	}

aka. hal_btcoex_SetManualControl(padapter, manual);

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

  reply	other threads:[~2018-06-30 10:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-30 10:02 [PATCH] staging: rtl8723bs: fix comparsion to true/false and brace issues Michael Straube
2018-06-30 10:08 ` Andreas Schwab [this message]
2018-06-30 10:52   ` Michael Straube

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=m2tvpkegdj.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=straube.linux@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.