OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee944d
)
drop_monitor: remove unnecessary break after return
author
Fabian Frederick
<fabf@skynet.be>
Mon, 14 Jul 2014 16:30:57 +0000
(18:30 +0200)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/core/drop_monitor.c
b/net/core/drop_monitor.c
index
e70301e
..
50f9a9d
100644
(file)
--- 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;