Skip to content

Commit

Permalink
packet: remove unnecessary break after return
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Frederick <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Fabian Frederick authored and davem330 committed Jul 15, 2014
1 parent 7cf6604 commit fe8c0f4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/packet/af_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe8c0f4

Please sign in to comment.