Skip to content

Commit 7033257

Browse files
Sasha NeftinJeff Kirsher
authored andcommitted
igc: Clean up unused shadow_vfta pointer
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 <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 3bdd708 commit 7033257

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/net/ethernet/intel/igc/igc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@ struct igc_adapter {
411411
u32 tx_hwtstamp_timeouts;
412412
u32 tx_hwtstamp_skipped;
413413
u32 rx_hwtstamp_cleared;
414-
u32 *shadow_vfta;
415414

416415
u32 rss_queues;
417416
u32 rss_indir_tbl_init;

drivers/net/ethernet/intel/igc/igc_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4573,7 +4573,6 @@ static void igc_remove(struct pci_dev *pdev)
45734573
pci_release_mem_regions(pdev);
45744574

45754575
kfree(adapter->mac_table);
4576-
kfree(adapter->shadow_vfta);
45774576
free_netdev(netdev);
45784577

45794578
pci_disable_pcie_error_reporting(pdev);

0 commit comments

Comments
 (0)