mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
Bluetooth: Kill set but unused variable 'cmd' in cmtp_recv_capimsg()
Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
parent
e694928067
commit
d29d04ce0f
@ -326,7 +326,7 @@ void cmtp_recv_capimsg(struct cmtp_session *session, struct sk_buff *skb)
|
||||
{
|
||||
struct capi_ctr *ctrl = &session->ctrl;
|
||||
struct cmtp_application *application;
|
||||
__u16 cmd, appl;
|
||||
__u16 appl;
|
||||
__u32 contr;
|
||||
|
||||
BT_DBG("session %p skb %p len %d", session, skb, skb->len);
|
||||
@ -344,7 +344,6 @@ void cmtp_recv_capimsg(struct cmtp_session *session, struct sk_buff *skb)
|
||||
return;
|
||||
}
|
||||
|
||||
cmd = CAPICMD(CAPIMSG_COMMAND(skb->data), CAPIMSG_SUBCOMMAND(skb->data));
|
||||
appl = CAPIMSG_APPID(skb->data);
|
||||
contr = CAPIMSG_CONTROL(skb->data);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user