Commit 03b67e98 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach

iwlwifi: remove pointer to transport from op_mode

This pointer was not used anywhere.
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent a0c38b21
...@@ -155,14 +155,12 @@ void iwl_opmode_deregister(const char *name); ...@@ -155,14 +155,12 @@ void iwl_opmode_deregister(const char *name);
/** /**
* struct iwl_op_mode - operational mode * struct iwl_op_mode - operational mode
* @ops - pointer to its own ops
* *
* This holds an implementation of the mac80211 / fw API. * This holds an implementation of the mac80211 / fw API.
*
* @ops - pointer to its own ops
*/ */
struct iwl_op_mode { struct iwl_op_mode {
const struct iwl_op_mode_ops *ops; const struct iwl_op_mode_ops *ops;
const struct iwl_trans *trans;
char op_mode_specific[0] __aligned(sizeof(void *)); char op_mode_specific[0] __aligned(sizeof(void *));
}; };
......
...@@ -344,7 +344,6 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg, ...@@ -344,7 +344,6 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg,
op_mode = hw->priv; op_mode = hw->priv;
op_mode->ops = &iwl_mvm_ops; op_mode->ops = &iwl_mvm_ops;
op_mode->trans = trans;
mvm = IWL_OP_MODE_GET_MVM(op_mode); mvm = IWL_OP_MODE_GET_MVM(op_mode);
mvm->dev = trans->dev; mvm->dev = trans->dev;
......
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