netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fabian Frederick <fabf@skynet.be>
To: linux-kernel@vger.kernel.org
Cc: davem@davemloft.net, joe@perches.com,
	Fabian Frederick <fabf@skynet.be>,
	netdev@vger.kernel.org
Subject: [PATCH 01/16] packet: remove unnecessary break after return
Date: Mon, 14 Jul 2014 18:30:51 +0200	[thread overview]
Message-ID: <1405355467-7350-2-git-send-email-fabf@skynet.be> (raw)
In-Reply-To: <1405355467-7350-1-git-send-email-fabf@skynet.be>

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 net/packet/af_packet.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index b85c67c..614ca91 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -3071,10 +3071,8 @@ static int packet_dev_mc(struct net_device *dev, struct packet_mclist *i,
 		break;
 	case PACKET_MR_PROMISC:
 		return dev_set_promiscuity(dev, what);
-		break;
 	case PACKET_MR_ALLMULTI:
 		return dev_set_allmulti(dev, what);
-		break;
 	case PACKET_MR_UNICAST:
 		if (i->alen != dev->addr_len)
 			return -EINVAL;
-- 
1.8.4.5

  reply	other threads:[~2014-07-14 16:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14 16:30 [PATCH 00/16] net: remove unnecessary break after goto/return Fabian Frederick
2014-07-14 16:30 ` Fabian Frederick [this message]
2014-07-14 16:30 ` [PATCH 02/16] tipc: remove unnecessary break after return Fabian Frederick
2014-07-14 16:30 ` [PATCH 03/16] 9P: " Fabian Frederick
2014-07-14 16:30 ` [PATCH 04/16] af_iucv: remove unnecessary break after goto Fabian Frederick
2014-07-14 16:30 ` [PATCH 05/16] netlabel: " Fabian Frederick
2014-07-14 22:30   ` Paul Moore
2014-07-14 16:30 ` [PATCH 06/16] pktgen: " Fabian Frederick
2014-07-14 16:30 ` [PATCH 07/16] drop_monitor: remove unnecessary break after return Fabian Frederick
2014-07-14 16:30 ` [PATCH 08/16] mac80211: " Fabian Frederick
2014-07-14 16:30 ` [PATCH 09/16] af_key: " Fabian Frederick
2014-07-15 23:27 ` [PATCH 00/16] net: remove unnecessary break after goto/return David Miller

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=1405355467-7350-2-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 \
    /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).