Skip to content

Commit

Permalink
irda: Kill set but unused variable 'clen' in ircomm_connect_indication()
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 19, 2011
1 parent ed84cad commit bfad6ef
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions net/irda/ircomm/ircomm_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfad6ef

Please sign in to comment.