igc: Clean up unused shadow_vfta pointer
authorSasha Neftin <sasha.neftin@intel.com>
Thu, 3 Oct 2019 11:47:01 +0000 (14:47 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 21 Oct 2019 17:27:01 +0000 (10:27 -0700)
VLAN filter table array not implemented yet and shadow_vfta pointer
not used. Clean up the code and remove the unused shadow_vfta pointer.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc.h
drivers/net/ethernet/intel/igc/igc_main.c

index 7e16345..0868677 100644 (file)
@@ -411,7 +411,6 @@ struct igc_adapter {
        u32 tx_hwtstamp_timeouts;
        u32 tx_hwtstamp_skipped;
        u32 rx_hwtstamp_cleared;
-       u32 *shadow_vfta;
 
        u32 rss_queues;
        u32 rss_indir_tbl_init;
index a16c657..6e0af46 100644 (file)
@@ -4573,7 +4573,6 @@ static void igc_remove(struct pci_dev *pdev)
        pci_release_mem_regions(pdev);
 
        kfree(adapter->mac_table);
-       kfree(adapter->shadow_vfta);
        free_netdev(netdev);
 
        pci_disable_pcie_error_reporting(pdev);