From: "Gustavo F. Padovan" <padovan@profusion.mobi>
To: David Miller <davem@davemloft.net>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] bluetooth: Kill set but unused variable 'pi' in l2cap_data_channel()
Date: Thu, 19 May 2011 23:34:42 -0300 [thread overview]
Message-ID: <20110520023440.GD4888@joana> (raw)
In-Reply-To: <20110519.174712.485186818693543128.davem@davemloft.net>
* David Miller <davem@davemloft.net> [2011-05-19 17:47:12 -0400]:
>
> Signed-off-by: David S. Miller <davem@davemloft.net>
>
> diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
> index a86f9ba..84ebe8d 100644
> --- a/net/bluetooth/l2cap_core.c
> +++ b/net/bluetooth/l2cap_core.c
> @@ -3667,7 +3667,6 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk
> {
> struct l2cap_chan *chan;
> struct sock *sk = NULL;
> - struct l2cap_pinfo *pi;
> u16 control;
> u8 tx_seq;
> int len;
> @@ -3679,7 +3678,6 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk
> }
>
> sk = chan->sk;
> - pi = l2cap_pi(sk);
>
> BT_DBG("chan %p, len %d", chan, skb->len);
I fixed this one already. Thanks anyway.
--
Gustavo F. Padovan
http://profusion.mobi
prev parent reply other threads:[~2011-05-20 2:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-19 21:47 [PATCH] bluetooth: Kill set but unused variable 'pi' in l2cap_data_channel() David Miller
2011-05-20 2:34 ` 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=20110520023440.GD4888@joana \
--to=padovan@profusion.mobi \
--cc=davem@davemloft.net \
--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 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.