drop_monitor: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Mon, 14 Jul 2014 16:30:57 +0000 (18:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2014 23:27:00 +0000 (16:27 -0700)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/drop_monitor.c

index e70301eb7a4a0472d1ade5bd3d318fe453bd2b8b..50f9a9db57924decc06d50296b77dcfe1ac5fcc9 100644 (file)
@@ -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;