File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed
drivers/net/ethernet/intel/igc Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,5 @@ struct net_device *igc_get_hw_dev(struct igc_hw *hw);
281
281
282
282
s32 igc_read_pcie_cap_reg (struct igc_hw * hw , u32 reg , u16 * value );
283
283
s32 igc_write_pcie_cap_reg (struct igc_hw * hw , u32 reg , u16 * value );
284
- void igc_read_pci_cfg (struct igc_hw * hw , u32 reg , u16 * value );
285
- void igc_write_pci_cfg (struct igc_hw * hw , u32 reg , u16 * value );
286
284
287
285
#endif /* _IGC_HW_H_ */
Original file line number Diff line number Diff line change @@ -6780,20 +6780,6 @@ static const struct net_device_ops igc_netdev_ops = {
6780
6780
};
6781
6781
6782
6782
/* PCIe configuration access */
6783
- void igc_read_pci_cfg (struct igc_hw * hw , u32 reg , u16 * value )
6784
- {
6785
- struct igc_adapter * adapter = hw -> back ;
6786
-
6787
- pci_read_config_word (adapter -> pdev , reg , value );
6788
- }
6789
-
6790
- void igc_write_pci_cfg (struct igc_hw * hw , u32 reg , u16 * value )
6791
- {
6792
- struct igc_adapter * adapter = hw -> back ;
6793
-
6794
- pci_write_config_word (adapter -> pdev , reg , * value );
6795
- }
6796
-
6797
6783
s32 igc_read_pcie_cap_reg (struct igc_hw * hw , u32 reg , u16 * value )
6798
6784
{
6799
6785
struct igc_adapter * adapter = hw -> back ;
You can’t perform that action at this time.
0 commit comments