From: Fabian Frederick <fabf@skynet.be>
To: linux-kernel@vger.kernel.org
Cc: davem@davemloft.net, joe@perches.com,
Fabian Frederick <fabf@skynet.be>,
Samuel Ortiz <samuel@sortiz.org>,
netdev@vger.kernel.org
Subject: [PATCH 14/16] irda: remove unnecessary break after return
Date: Mon, 14 Jul 2014 18:36:37 +0200 [thread overview]
Message-ID: <1405355799-7691-5-git-send-email-fabf@skynet.be> (raw)
In-Reply-To: <1405355799-7691-1-git-send-email-fabf@skynet.be>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
net/irda/af_irda.c | 1 -
net/irda/irlan/irlan_common.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c
index 54747c2..92fafd4 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 7ac4d1b..1bc49ed 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 */
--
1.8.4.5
next prev parent reply other threads:[~2014-07-14 16:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 16:36 [PATCH 10/16] netfilter: remove unnecessary break after return Fabian Frederick
2014-07-14 16:36 ` [PATCH 11/16] ipv6: " Fabian Frederick
[not found] ` <1405355799-7691-1-git-send-email-fabf-AgBVmzD5pcezQB+pC5nmwQ@public.gmane.org>
2014-07-14 16:36 ` [PATCH 12/16] NFC: remove unnecessary break after goto Fabian Frederick
2014-07-14 16:36 ` [PATCH 13/16] caif: " Fabian Frederick
2014-07-14 16:36 ` Fabian Frederick [this message]
2014-07-14 16:36 ` [PATCH 15/16] ieee802154: " Fabian Frederick
2014-07-14 16:36 ` [PATCH 16/16] net: sctp: remove unnecessary break after return/goto Fabian Frederick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405355799-7691-5-git-send-email-fabf@skynet.be \
--to=fabf@skynet.be \
--cc=davem@davemloft.net \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=samuel@sortiz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).