From: "Gustavo F. Padovan" <padovan@profusion.mobi>
To: johan.hedberg@gmail.com
Cc: linux-bluetooth@vger.kernel.org, Johan Hedberg <johan.hedberg@nokia.com>
Subject: Re: [PATCH 1/3] Bluetooth: Simplify remote features callback function logic
Date: Wed, 10 Nov 2010 14:24:30 -0200 [thread overview]
Message-ID: <20101110162430.GD3275@vigoh> (raw)
In-Reply-To: <1289401913-22982-1-git-send-email-johan.hedberg@gmail.com>
Hi Johan,
* johan.hedberg@gmail.com <johan.hedberg@gmail.com> [2010-11-10 17:11:51 +0200]:
> From: Johan Hedberg <johan.hedberg@nokia.com>
>
> The current remote and remote extended features event callbacks logic
> can be made simpler by using a label and goto statements instead of the
> current multiple levels of nested if statements.
>
> Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
> ---
> net/bluetooth/hci_event.c | 91 +++++++++++++++++++++++----------------------
> 1 files changed, 47 insertions(+), 44 deletions(-)
Applied to bluetooth-next-2.6, thanks.
--
Gustavo F. Padovan
http://profusion.mobi
prev parent reply other threads:[~2010-11-10 16:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-10 15:11 [PATCH 1/3] Bluetooth: Simplify remote features callback function logic johan.hedberg
2010-11-10 15:11 ` [PATCH 2/3] Bluetooth: Create a unified authentication request function johan.hedberg
2010-11-10 15:11 ` [PATCH 3/3] Bluetooth: Automate remote name requests johan.hedberg
2010-11-10 21:11 ` Luiz Augusto von Dentz
2010-11-16 22:09 ` Gustavo F. Padovan
2010-11-17 22:30 ` Johan Hedberg
2010-11-17 23:01 ` Gustavo F. Padovan
2010-11-10 16:24 ` Gustavo F. Padovan [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=20101110162430.GD3275@vigoh \
--to=padovan@profusion.mobi \
--cc=johan.hedberg@gmail.com \
--cc=johan.hedberg@nokia.com \
--cc=linux-bluetooth@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;
as well as URLs for NNTP newsgroup(s).