projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed84cad
)
irda: Kill set but unused variable 'clen' in ircomm_connect_indication()
author
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:52:59 +0000
(18:52 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 22:52:59 +0000
(18:52 -0400)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/ircomm/ircomm_core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/irda/ircomm/ircomm_core.c
b/net/irda/ircomm/ircomm_core.c
index e97082017f4fabfd05ed2c3823f31c5e9fa1ee7e..52079f19bbbe4a087efbf0d1e4627a4e6bc8b408 100644
(file)
--- a/
net/irda/ircomm/ircomm_core.c
+++ b/
net/irda/ircomm/ircomm_core.c
@@
-244,14
+244,8
@@
EXPORT_SYMBOL(ircomm_connect_request);
void ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb,
struct ircomm_info *info)
{
- int clen = 0;
-
IRDA_DEBUG(2, "%s()\n", __func__ );
- /* Check if the packet contains data on the control channel */
- if (skb->len > 0)
- clen = skb->data[0];
-
/*
* If there are any data hiding in the control channel, we must
* deliver it first. The side effect is that the control channel