summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-14 18:30:57 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-15 16:27:00 -0700
commit4d3520cb529e520554906573e4be0efaa38050fe (patch)
treee6c9dcb498ef821489bce83d7052a034d006b4ec /net/core
parentaee944ddf893e14a148af0f4e857c11887660053 (diff)
downloadop-kernel-dev-4d3520cb529e520554906573e4be0efaa38050fe.zip
op-kernel-dev-4d3520cb529e520554906573e4be0efaa38050fe.tar.gz
drop_monitor: 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/core')
-rw-r--r--net/core/drop_monitor.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/drop_monitor.c b/net/core/drop_monitor.c
index e70301e..50f9a9db 100644
--- a/net/core/drop_monitor.c
+++ b/net/core/drop_monitor.c
@@ -289,10 +289,8 @@ static int net_dm_cmd_trace(struct sk_buff *skb,
switch (info->genlhdr->cmd) {
case NET_DM_CMD_START:
return set_all_monitor_traces(TRACE_ON);
- break;
case NET_DM_CMD_STOP:
return set_all_monitor_traces(TRACE_OFF);
- break;
}
return -ENOTSUPP;
OpenPOWER on IntegriCloud