Netdev List
 help / color / mirror / Atom feed
From: Sathya Perla <sathya.perla@emulex.com>
To: <netdev@vger.kernel.org>
Cc: Sathya Perla <sathya.perla@emulex.com>
Subject: [PATCH net-next 7/7] be2net: remove adapter->eq_next_idx
Date: Wed, 7 Nov 2012 09:19:01 +0530	[thread overview]
Message-ID: <1f62bc81-2588-4aa2-baad-2d2f314f4409@CMEXHTCAS2.ad.emulex.com> (raw)
In-Reply-To: <1352260141-27725-1-git-send-email-sathya.perla@emulex.com>

It's not used anywhere

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
---
 drivers/net/ethernet/emulex/benet/be.h      |    2 --
 drivers/net/ethernet/emulex/benet/be_main.c |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h
index 472d98e..abf26c7 100644
--- a/drivers/net/ethernet/emulex/benet/be.h
+++ b/drivers/net/ethernet/emulex/benet/be.h
@@ -375,9 +375,7 @@ struct be_adapter {
 	struct be_rx_obj rx_obj[MAX_RX_QS];
 	u32 big_page_size;	/* Compounded page size shared by rx wrbs */
 
-	u8 eq_next_idx;
 	struct be_drv_stats drv_stats;
-
 	u16 vlans_added;
 	u8 vlan_tag[VLAN_N_VID];
 	u8 vlan_prio_bmap;	/* Available Priority BitMap */
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index b2c72b8..c365722 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -2762,8 +2762,6 @@ static void be_setup_init(struct be_adapter *adapter)
 	adapter->if_handle = -1;
 	adapter->be3_native = false;
 	adapter->promiscuous = false;
-	adapter->eq_next_idx = 0;
-
 	if (be_physfn(adapter))
 		adapter->cmd_privileges = MAX_PRIVILEGES;
 	else
-- 
1.7.1

      parent reply	other threads:[~2012-11-07  3:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1352260141-27725-1-git-send-email-sathya.perla@emulex.com>
2012-11-07  3:48 ` [PATCH net-next 1/7] be2net: remove LANCER A0 workaround Sathya Perla
2012-11-07  3:48 ` [PATCH net-next 2/7] be2net: fix wrong usage of adapter->generation Sathya Perla
2012-11-07  3:48 ` [PATCH net-next 3/7] be2net: do not use sli_family to identify skyhawk-R chip Sathya Perla
2012-11-07  3:48 ` [PATCH net-next 4/7] be2net: re-factor bar mapping code Sathya Perla
2012-11-07  3:48 ` [PATCH net-next 5/7] be2net: fix access to SEMAPHORE reg Sathya Perla
2012-11-07  3:49 ` [PATCH net-next 6/7] be2net: remove roce on lancer Sathya Perla
2012-11-07  3:49 ` Sathya Perla [this message]

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=1f62bc81-2588-4aa2-baad-2d2f314f4409@CMEXHTCAS2.ad.emulex.com \
    --to=sathya.perla@emulex.com \
    --cc=netdev@vger.kernel.org \
    /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