提交 4d3520cb 编写于 作者: F Fabian Frederick 提交者: David S. Miller

drop_monitor: remove unnecessary break after return

Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 aee944dd
...@@ -289,10 +289,8 @@ static int net_dm_cmd_trace(struct sk_buff *skb, ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册