projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e694928
)
Bluetooth: Kill set but unused variable 'cmd' in cmtp_recv_capimsg()
author
David Miller
<davem@davemloft.net>
Thu, 19 May 2011 21:50:05 +0000
(17:50 -0400)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Thu, 9 Jun 2011 19:32:21 +0000
(16:32 -0300)
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/cmtp/capi.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/cmtp/capi.c
b/net/bluetooth/cmtp/capi.c
index 744233cba244bc8c1f89f71a0102e1d69dc1d856..040f67b12978c17713e4040937127b0cc814de8e 100644
(file)
--- a/
net/bluetooth/cmtp/capi.c
+++ b/
net/bluetooth/cmtp/capi.c
@@
-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);