Commit 01cbc1a7 authored by Sathya Perla's avatar Sathya Perla Committed by David S. Miller

be2net: remove adapter->eq_next_idx

It's not used anywhere
Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dbf0f2a7
...@@ -375,9 +375,7 @@ struct be_adapter { ...@@ -375,9 +375,7 @@ struct be_adapter {
struct be_rx_obj rx_obj[MAX_RX_QS]; struct be_rx_obj rx_obj[MAX_RX_QS];
u32 big_page_size; /* Compounded page size shared by rx wrbs */ u32 big_page_size; /* Compounded page size shared by rx wrbs */
u8 eq_next_idx;
struct be_drv_stats drv_stats; struct be_drv_stats drv_stats;
u16 vlans_added; u16 vlans_added;
u8 vlan_tag[VLAN_N_VID]; u8 vlan_tag[VLAN_N_VID];
u8 vlan_prio_bmap; /* Available Priority BitMap */ u8 vlan_prio_bmap; /* Available Priority BitMap */
......
...@@ -2762,8 +2762,6 @@ static void be_setup_init(struct be_adapter *adapter) ...@@ -2762,8 +2762,6 @@ static void be_setup_init(struct be_adapter *adapter)
adapter->if_handle = -1; adapter->if_handle = -1;
adapter->be3_native = false; adapter->be3_native = false;
adapter->promiscuous = false; adapter->promiscuous = false;
adapter->eq_next_idx = 0;
if (be_physfn(adapter)) if (be_physfn(adapter))
adapter->cmd_privileges = MAX_PRIVILEGES; adapter->cmd_privileges = MAX_PRIVILEGES;
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment