Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14e8e4af authored by Johannes Berg's avatar Johannes Berg Committed by Wey-Yi Guy
Browse files

iwlwifi: remove apm_ops.stop



Since all devices share the same operation here,
there's no need to call it indirectly.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent 9597ebac
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -194,7 +194,6 @@ static struct iwl_lib_ops iwl1000_lib = {
	.update_chain_flags = iwl_update_chain_flags,
	.apm_ops = {
		.init = iwl_apm_init,
		.stop = iwl_apm_stop,
		.config = iwl1000_nic_config,
	},
	.eeprom_ops = {
+0 −1
Original line number Diff line number Diff line
@@ -2704,7 +2704,6 @@ static struct iwl_lib_ops iwl3945_lib = {
	.dump_nic_error_log = iwl3945_dump_nic_error_log,
	.apm_ops = {
		.init = iwl3945_apm_init,
		.stop = iwl_apm_stop,
		.config = iwl3945_nic_config,
	},
	.eeprom_ops = {
+0 −1
Original line number Diff line number Diff line
@@ -2266,7 +2266,6 @@ static struct iwl_lib_ops iwl4965_lib = {
	.set_channel_switch = iwl4965_hw_channel_switch,
	.apm_ops = {
		.init = iwl_apm_init,
		.stop = iwl_apm_stop,
		.config = iwl4965_nic_config,
	},
	.eeprom_ops = {
+0 −2
Original line number Diff line number Diff line
@@ -368,7 +368,6 @@ static struct iwl_lib_ops iwl5000_lib = {
	.set_channel_switch = iwl5000_hw_channel_switch,
	.apm_ops = {
		.init = iwl_apm_init,
		.stop = iwl_apm_stop,
		.config = iwl5000_nic_config,
	},
	.eeprom_ops = {
@@ -437,7 +436,6 @@ static struct iwl_lib_ops iwl5150_lib = {
	.set_channel_switch = iwl5000_hw_channel_switch,
	.apm_ops = {
		.init = iwl_apm_init,
		.stop = iwl_apm_stop,
		.config = iwl5000_nic_config,
	},
	.eeprom_ops = {
+0 −2
Original line number Diff line number Diff line
@@ -308,7 +308,6 @@ static struct iwl_lib_ops iwl6000_lib = {
	.set_channel_switch = iwl6000_hw_channel_switch,
	.apm_ops = {
		.init = iwl_apm_init,
		.stop = iwl_apm_stop,
		.config = iwl6000_nic_config,
	},
	.eeprom_ops = {
@@ -380,7 +379,6 @@ static struct iwl_lib_ops iwl6000g2b_lib = {
	.set_channel_switch = iwl6000_hw_channel_switch,
	.apm_ops = {
		.init = iwl_apm_init,
		.stop = iwl_apm_stop,
		.config = iwl6000_nic_config,
	},
	.eeprom_ops = {
Loading