netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fabian Frederick <fabf@skynet.be>
To: linux-kernel@vger.kernel.org
Cc: davem@davemloft.net, joe@perches.com,
	Fabian Frederick <fabf@skynet.be>,
	Rasesh Mody <rmody@brocade.com>,
	netdev@vger.kernel.org
Subject: [PATCH 23/30] bna: remove unnecessary break after return
Date: Sun, 20 Jul 2014 16:27:48 +0200	[thread overview]
Message-ID: <1405866475-24754-4-git-send-email-fabf@skynet.be> (raw)
In-Reply-To: <1405866475-24754-1-git-send-email-fabf@skynet.be>

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 drivers/net/ethernet/brocade/bna/cna_fwimg.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/ethernet/brocade/bna/cna_fwimg.c b/drivers/net/ethernet/brocade/bna/cna_fwimg.c
index 6a68e8d..6f72771 100644
--- a/drivers/net/ethernet/brocade/bna/cna_fwimg.c
+++ b/drivers/net/ethernet/brocade/bna/cna_fwimg.c
@@ -68,10 +68,8 @@ bfa_cb_image_get_chunk(enum bfi_asic_gen asic_gen, u32 off)
 	switch (asic_gen) {
 	case BFI_ASIC_GEN_CT:
 		return (bfi_image_ct_cna + off);
-		break;
 	case BFI_ASIC_GEN_CT2:
 		return (bfi_image_ct2_cna + off);
-		break;
 	default:
 		return NULL;
 	}
@@ -83,10 +81,8 @@ bfa_cb_image_get_size(enum bfi_asic_gen asic_gen)
 	switch (asic_gen) {
 	case BFI_ASIC_GEN_CT:
 		return bfi_image_ct_cna_size;
-		break;
 	case BFI_ASIC_GEN_CT2:
 		return bfi_image_ct2_cna_size;
-		break;
 	default:
 		return 0;
 	}
-- 
1.9.1

  parent reply	other threads:[~2014-07-20 14:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-20 14:27 [PATCH 20/30] igb: remove unnecessary break after return Fabian Frederick
2014-07-20 14:27 ` [PATCH 21/30] 8390: " Fabian Frederick
2014-07-20 14:27 ` [PATCH 22/30] net: tulip: " Fabian Frederick
2014-07-20 14:27 ` Fabian Frederick [this message]
2014-07-20 14:27 ` [PATCH 24/30] sis900: " Fabian Frederick
2014-07-21  6:26   ` Daniele Venzano
2014-07-20 14:27 ` [PATCH 25/30] niu: " Fabian Frederick
2014-07-20 14:27 ` [PATCH 26/30] ucc_geth: " Fabian Frederick
2014-07-20 14:27 ` [PATCH 27/30] atl1e: " Fabian Frederick
2014-07-20 14:27 ` [PATCH 28/30] atlx: " Fabian Frederick
2014-07-20 14:27 ` [PATCH 29/30] atl1c: " Fabian Frederick

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=1405866475-24754-4-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=rmody@brocade.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).