be2net: remove adapter->eq_next_idx
authorSathya Perla <sathya.perla@emulex.com>
Tue, 6 Nov 2012 17:49:01 +0000 (17:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 21:59:53 +0000 (16:59 -0500)
It's not used anywhere

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c

index 472d98e..abf26c7 100644 (file)
@@ -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 */
index b2c72b8..c365722 100644 (file)
@@ -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