Commit cd77f5e1 authored by Greg Rose's avatar Greg Rose Committed by Jeff Kirsher

i40e: Strip configfs code

The use of configfs is not allowed in network drivers.  Strip the code that
uses it.
Signed-off-by: default avatarGreg Rose <gregory.v.rose@intel.com>
Tested-by: default avatarJim Young <james.m.young@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent b85e911b
...@@ -303,15 +303,6 @@ config I40E_FCOE ...@@ -303,15 +303,6 @@ config I40E_FCOE
If unsure, say N. If unsure, say N.
config I40E_CONFIGFS_FS
bool "Config File System Support (configfs)"
default n
depends on I40E && CONFIGFS_FS && !(I40E=y && CONFIGFS_FS=m)
---help---
Provides support for the configfs file system for additional
driver configuration. Say Y here if you want to use the
configuration file system in the driver.
config I40EVF config I40EVF
tristate "Intel(R) XL710 X710 Virtual Function Ethernet support" tristate "Intel(R) XL710 X710 Virtual Function Ethernet support"
depends on PCI_MSI depends on PCI_MSI
......
...@@ -37,7 +37,6 @@ i40e-objs := i40e_main.o \ ...@@ -37,7 +37,6 @@ i40e-objs := i40e_main.o \
i40e_hmc.o \ i40e_hmc.o \
i40e_lan_hmc.o \ i40e_lan_hmc.o \
i40e_nvm.o \ i40e_nvm.o \
i40e_configfs.o \
i40e_debugfs.o \ i40e_debugfs.o \
i40e_diag.o \ i40e_diag.o \
i40e_txrx.o \ i40e_txrx.o \
......
...@@ -749,10 +749,6 @@ int i40e_ptp_get_ts_config(struct i40e_pf *pf, struct ifreq *ifr); ...@@ -749,10 +749,6 @@ int i40e_ptp_get_ts_config(struct i40e_pf *pf, struct ifreq *ifr);
void i40e_ptp_init(struct i40e_pf *pf); void i40e_ptp_init(struct i40e_pf *pf);
void i40e_ptp_stop(struct i40e_pf *pf); void i40e_ptp_stop(struct i40e_pf *pf);
int i40e_is_vsi_uplink_mode_veb(struct i40e_vsi *vsi); int i40e_is_vsi_uplink_mode_veb(struct i40e_vsi *vsi);
#if IS_ENABLED(CONFIG_I40E_CONFIGFS_FS)
int i40e_configfs_init(void);
void i40e_configfs_exit(void);
#endif /* CONFIG_I40E_CONFIGFS_FS */
i40e_status i40e_get_npar_bw_setting(struct i40e_pf *pf); i40e_status i40e_get_npar_bw_setting(struct i40e_pf *pf);
i40e_status i40e_set_npar_bw_setting(struct i40e_pf *pf); i40e_status i40e_set_npar_bw_setting(struct i40e_pf *pf);
i40e_status i40e_commit_npar_bw_setting(struct i40e_pf *pf); i40e_status i40e_commit_npar_bw_setting(struct i40e_pf *pf);
......
This diff is collapsed.
...@@ -10287,9 +10287,6 @@ static int __init i40e_init_module(void) ...@@ -10287,9 +10287,6 @@ static int __init i40e_init_module(void)
i40e_driver_string, i40e_driver_version_str); i40e_driver_string, i40e_driver_version_str);
pr_info("%s: %s\n", i40e_driver_name, i40e_copyright); pr_info("%s: %s\n", i40e_driver_name, i40e_copyright);
#if IS_ENABLED(CONFIG_I40E_CONFIGFS_FS)
i40e_configfs_init();
#endif /* CONFIG_I40E_CONFIGFS_FS */
i40e_dbg_init(); i40e_dbg_init();
return pci_register_driver(&i40e_driver); return pci_register_driver(&i40e_driver);
} }
...@@ -10305,8 +10302,5 @@ static void __exit i40e_exit_module(void) ...@@ -10305,8 +10302,5 @@ static void __exit i40e_exit_module(void)
{ {
pci_unregister_driver(&i40e_driver); pci_unregister_driver(&i40e_driver);
i40e_dbg_exit(); i40e_dbg_exit();
#if IS_ENABLED(CONFIG_I40E_CONFIGFS_FS)
i40e_configfs_exit();
#endif /* CONFIG_I40E_CONFIGFS_FS */
} }
module_exit(i40e_exit_module); module_exit(i40e_exit_module);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment