mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 16:53:54 +08:00
packet: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7cf66041ed
commit
fe8c0f4ac2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user