From: Fabian Frederick <fabf@skynet.be>
To: linux-kernel@vger.kernel.org
Cc: davem@davemloft.net, joe@perches.com,
Fabian Frederick <fabf@skynet.be>,
Neil Horman <nhorman@tuxdriver.com>,
netdev@vger.kernel.org
Subject: [PATCH 07/16] drop_monitor: remove unnecessary break after return
Date: Mon, 14 Jul 2014 18:30:57 +0200 [thread overview]
Message-ID: <1405355467-7350-8-git-send-email-fabf@skynet.be> (raw)
In-Reply-To: <1405355467-7350-1-git-send-email-fabf@skynet.be>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
net/core/drop_monitor.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/core/drop_monitor.c b/net/core/drop_monitor.c
index e70301e..50f9a9d 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;
--
1.8.4.5
next prev parent reply other threads:[~2014-07-14 16:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 16:30 [PATCH 00/16] net: remove unnecessary break after goto/return Fabian Frederick
2014-07-14 16:30 ` [PATCH 01/16] packet: remove unnecessary break after return Fabian Frederick
2014-07-14 16:30 ` [PATCH 02/16] tipc: " Fabian Frederick
2014-07-14 16:30 ` [PATCH 03/16] 9P: " Fabian Frederick
2014-07-14 16:30 ` [PATCH 04/16] af_iucv: remove unnecessary break after goto Fabian Frederick
2014-07-14 16:30 ` [PATCH 05/16] netlabel: " Fabian Frederick
2014-07-14 22:30 ` Paul Moore
2014-07-14 16:30 ` [PATCH 06/16] pktgen: " Fabian Frederick
2014-07-14 16:30 ` Fabian Frederick [this message]
2014-07-14 16:30 ` [PATCH 08/16] mac80211: remove unnecessary break after return Fabian Frederick
2014-07-14 16:30 ` [PATCH 09/16] af_key: " Fabian Frederick
2014-07-15 23:27 ` [PATCH 00/16] net: remove unnecessary break after goto/return David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405355467-7350-8-git-send-email-fabf@skynet.be \
--to=fabf@skynet.be \
--cc=davem@davemloft.net \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).