* [PATCH] bluetooth: Kill set but unused variable 'pi' in l2cap_data_channel()
@ 2011-05-19 21:47 David Miller
2011-05-20 2:34 ` Gustavo F. Padovan
0 siblings, 1 reply; 2+ messages in thread
From: David Miller @ 2011-05-19 21:47 UTC (permalink / raw)
To: linux-bluetooth
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);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bluetooth: Kill set but unused variable 'pi' in l2cap_data_channel()
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
0 siblings, 0 replies; 2+ messages in thread
From: Gustavo F. Padovan @ 2011-05-20 2:34 UTC (permalink / raw)
To: David Miller; +Cc: linux-bluetooth
* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-20 2:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).