diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2012-11-06 17:49:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-07 16:59:53 -0500 |
commit | 01cbc1a717fe1c041c70a702d1a1a397104d51fa (patch) | |
tree | 5aa91918b57f6b77cecaf08a4f6de31c4f1a3235 /drivers/net/ethernet/emulex | |
parent | dbf0f2a7998363bb89bd26a5f8579d1f58b58715 (diff) | |
download | op-kernel-dev-01cbc1a717fe1c041c70a702d1a1a397104d51fa.zip op-kernel-dev-01cbc1a717fe1c041c70a702d1a1a397104d51fa.tar.gz |
be2net: remove adapter->eq_next_idx
It's not used anywhere
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be.h | 2 | ||||
-rw-r--r-- | 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 |