diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-07-14 18:36:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-15 16:27:01 -0700 |
commit | f301f22f36a031f767de1002735adf639230e1de (patch) | |
tree | 4a5b0806c859c82440e52ebec1d2c39ce27c04cc /net/irda | |
parent | 1f7a316f9ba5ea743c95b5fcc472fa3caf8fec98 (diff) | |
download | linux-f301f22f36a031f767de1002735adf639230e1de.tar.gz linux-f301f22f36a031f767de1002735adf639230e1de.tar.bz2 linux-f301f22f36a031f767de1002735adf639230e1de.zip |
irda: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda')
-rw-r--r-- | net/irda/af_irda.c | 1 | ||||
-rw-r--r-- | net/irda/irlan/irlan_common.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c index 54747c25c86c..92fafd485deb 100644 --- a/net/irda/af_irda.c +++ b/net/irda/af_irda.c @@ -674,7 +674,6 @@ static int irda_discover_daddr_and_lsap_sel(struct irda_sock *self, char *name) self->daddr = DEV_ADDR_ANY; kfree(discoveries); return -EHOSTUNREACH; - break; } } /* Cleanup our copy of the discovery log */ diff --git a/net/irda/irlan/irlan_common.c b/net/irda/irlan/irlan_common.c index 7ac4d1becbfc..1bc49edf2296 100644 --- a/net/irda/irlan/irlan_common.c +++ b/net/irda/irlan/irlan_common.c @@ -1024,7 +1024,6 @@ static int __irlan_insert_param(struct sk_buff *skb, char *param, int type, default: IRDA_DEBUG(2, "%s(), Unknown parameter type!\n", __func__ ); return 0; - break; } /* Insert at end of sk-buffer */ |