linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: btusb: Use IS_ENABLED instead of #ifdef
Date: Mon, 30 Sep 2019 13:54:33 +0300	[thread overview]
Message-ID: <20190930105433.GA52240@jhedberg-mac01.fi.intel.com> (raw)
In-Reply-To: <20190927064858.121461-1-marcel@holtmann.org>

Hi Marcel,

On Fri, Sep 27, 2019, Marcel Holtmann wrote:
> For the different hardware support options, it is better to use
> IS_ENABLED check. Let the compiler do the needed optimizations.
> 
> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
> ---
>  drivers/bluetooth/btusb.c | 22 +++++++---------------
>  1 file changed, 7 insertions(+), 15 deletions(-)

Applied to bluetooth-next. Thanks.

Johan

      reply	other threads:[~2019-09-30 10:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-27  6:48 [PATCH] Bluetooth: btusb: Use IS_ENABLED instead of #ifdef Marcel Holtmann
2019-09-30 10:54 ` Johan Hedberg [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=20190930105433.GA52240@jhedberg-mac01.fi.intel.com \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.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;
as well as URLs for NNTP newsgroup(s).