]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
iwlwifi: remove pointer to transport from op_mode
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 8 Dec 2013 08:38:20 +0000 (10:38 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 17 Dec 2013 17:39:49 +0000 (19:39 +0200)
This pointer was not used anywhere.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-op-mode.h
drivers/net/wireless/iwlwifi/mvm/ops.c

index 976448a57d02649a7263b499bcc4974a5a1db18c..f50e6c62ebc5b7dd7e6b009e3da82503a14794b5 100644 (file)
@@ -155,14 +155,12 @@ void iwl_opmode_deregister(const char *name);
 
 /**
  * struct iwl_op_mode - operational mode
+ * @ops - pointer to its own ops
  *
  * This holds an implementation of the mac80211 / fw API.
- *
- * @ops - pointer to its own ops
  */
 struct iwl_op_mode {
        const struct iwl_op_mode_ops *ops;
-       const struct iwl_trans *trans;
 
        char op_mode_specific[0] __aligned(sizeof(void *));
 };
index a6f4be8d03d7219298794d4de9bc9fa604a9e21a..ef3fdcf48831720d23a76d8088b72c7bf212cd71 100644 (file)
@@ -344,7 +344,6 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg,
 
        op_mode = hw->priv;
        op_mode->ops = &iwl_mvm_ops;
-       op_mode->trans = trans;
 
        mvm = IWL_OP_MODE_GET_MVM(op_mode);
        mvm->dev = trans->dev;