summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-14 18:30:51 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-15 16:26:59 -0700
commitfe8c0f4ac2878bbdbebcbf8a6c7f62c48661111f (patch)
tree5f90ca6f39b952e3b926255c528e450b64fa55b9 /net/packet
parent7cf66041eda5841a5a0b74a10275c8ef4fea567a (diff)
downloadlinux-fe8c0f4ac2878bbdbebcbf8a6c7f62c48661111f.tar.bz2
packet: 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/packet')
-rw-r--r--net/packet/af_packet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index b85c67ccb797..614ca91f785a 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;