Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irda: Kill set but unused variable 'clen' in ircomm_connect_indication()

Signed-off-by: David S. Miller <davem@davemloft.net>

-6
-6
net/irda/ircomm/ircomm_core.c
··· 244 244 void ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb, 245 245 struct ircomm_info *info) 246 246 { 247 - int clen = 0; 248 - 249 247 IRDA_DEBUG(2, "%s()\n", __func__ ); 250 - 251 - /* Check if the packet contains data on the control channel */ 252 - if (skb->len > 0) 253 - clen = skb->data[0]; 254 248 255 249 /* 256 250 * If there are any data hiding in the control channel, we must