Skip to content

Commit

Permalink
Bluetooth: Kill set but unused variable 'cmd' in cmtp_recv_capimsg()
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Gustavo F. Padovan <[email protected]>
  • Loading branch information
davem330 authored and Gustavo F. Padovan committed Jun 9, 2011
1 parent e694928 commit d29d04c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/bluetooth/cmtp/capi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);

Expand Down

0 comments on commit d29d04c

Please sign in to comment.