浏览代码

i40evf: fix bogus comment

Locate the structure in the correct header file.

Change-ID: Ic7853131728812093a44a75d6b70953311a48dab
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Mitch Williams 12 年之前
父节点
当前提交
708e8c247e
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/net/ethernet/intel/i40evf/i40evf.h

+ 1 - 2
drivers/net/ethernet/intel/i40evf/i40evf.h

@@ -236,8 +236,7 @@ struct i40evf_adapter {
 	struct pci_dev *pdev;
 	struct pci_dev *pdev;
 	struct net_device_stats net_stats;
 	struct net_device_stats net_stats;
 
 
-	/* structs defined in i40e_vf.h */
-	struct i40e_hw hw;
+	struct i40e_hw hw; /* defined in i40e_type.h */
 
 
 	enum i40evf_state_t state;
 	enum i40evf_state_t state;
 	volatile unsigned long crit_section;
 	volatile unsigned long crit_section;