Re: [PATCH] bluetooth: Kill set but unused variable 'pi' in l2cap_data_channel()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* David Miller <davem@xxxxxxxxxxxxx> [2011-05-19 17:47:12 -0400]:

> 
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
> 
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux