drop_monitor: 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
aee944ddf8
commit
4d3520cb52
|
@ -289,10 +289,8 @@ static int net_dm_cmd_trace(struct sk_buff *skb,
|
||||||
switch (info->genlhdr->cmd) {
|
switch (info->genlhdr->cmd) {
|
||||||
case NET_DM_CMD_START:
|
case NET_DM_CMD_START:
|
||||||
return set_all_monitor_traces(TRACE_ON);
|
return set_all_monitor_traces(TRACE_ON);
|
||||||
break;
|
|
||||||
case NET_DM_CMD_STOP:
|
case NET_DM_CMD_STOP:
|
||||||
return set_all_monitor_traces(TRACE_OFF);
|
return set_all_monitor_traces(TRACE_OFF);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return -ENOTSUPP;
|
return -ENOTSUPP;
|
||||||
|
|
Loading…
Reference in New Issue