mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 15:40:50 +00:00
irda: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1f7a316f9b
commit
f301f22f36
@ -674,7 +674,6 @@ static int irda_discover_daddr_and_lsap_sel(struct irda_sock *self, char *name)
|
|||||||
self->daddr = DEV_ADDR_ANY;
|
self->daddr = DEV_ADDR_ANY;
|
||||||
kfree(discoveries);
|
kfree(discoveries);
|
||||||
return -EHOSTUNREACH;
|
return -EHOSTUNREACH;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Cleanup our copy of the discovery log */
|
/* Cleanup our copy of the discovery log */
|
||||||
|
@ -1024,7 +1024,6 @@ static int __irlan_insert_param(struct sk_buff *skb, char *param, int type,
|
|||||||
default:
|
default:
|
||||||
IRDA_DEBUG(2, "%s(), Unknown parameter type!\n", __func__ );
|
IRDA_DEBUG(2, "%s(), Unknown parameter type!\n", __func__ );
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Insert at end of sk-buffer */
|
/* Insert at end of sk-buffer */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user