diff options
| author | David S. Miller <davem@davemloft.net> | 2011-05-19 18:52:59 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2011-05-19 18:52:59 -0400 |
| commit | bfad6ef6d29e776472b3ead1f5bc920c5410ed2c (patch) | |
| tree | d4a8b29713a027c00fe2d3031d333b2831b766ab /net | |
| parent | ed84cadb21e15a3e59a2154158c58579774f0851 (diff) | |
irda: Kill set but unused variable 'clen' in ircomm_connect_indication()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
| -rw-r--r-- | net/irda/ircomm/ircomm_core.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/irda/ircomm/ircomm_core.c b/net/irda/ircomm/ircomm_core.c index e97082017f4f..52079f19bbbe 100644 --- a/net/irda/ircomm/ircomm_core.c +++ b/net/irda/ircomm/ircomm_core.c | |||
| @@ -244,14 +244,8 @@ EXPORT_SYMBOL(ircomm_connect_request); | |||
| 244 | void ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb, | 244 | void ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb, |
| 245 | struct ircomm_info *info) | 245 | struct ircomm_info *info) |
| 246 | { | 246 | { |
| 247 | int clen = 0; | ||
| 248 | |||
| 249 | IRDA_DEBUG(2, "%s()\n", __func__ ); | 247 | IRDA_DEBUG(2, "%s()\n", __func__ ); |
| 250 | 248 | ||
| 251 | /* Check if the packet contains data on the control channel */ | ||
| 252 | if (skb->len > 0) | ||
| 253 | clen = skb->data[0]; | ||
| 254 | |||
| 255 | /* | 249 | /* |
| 256 | * If there are any data hiding in the control channel, we must | 250 | * If there are any data hiding in the control channel, we must |
| 257 | * deliver it first. The side effect is that the control channel | 251 | * deliver it first. The side effect is that the control channel |
