diff options
author | Emmanuel Grumbach | 2012-03-26 08:57:01 -0700 |
---|---|---|
committer | Wey-Yi Guy | 2012-04-18 07:30:42 -0700 |
commit | 035f7ff27dcfadcb6028de1bbb5d17d49ea8d804 (patch) | |
tree | 9b3400fe1494c07cf540aa1292c1278afdbcbbb0 /drivers/net/wireless/iwlwifi/iwl-drv.c | |
parent | 68f360dcfff19e338e7d565df48d222578f55f33 (diff) |
iwlwifi: transport holds its pointer to the config
Instead of using the shared area that we be killed.
Remove the pointer to config from shared since it is not
used any more.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-drv.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-drv.c b/drivers/net/wireless/iwlwifi/iwl-drv.c index 69b5b1a05998..77262f2a4fd8 100644 --- a/drivers/net/wireless/iwlwifi/iwl-drv.c +++ b/drivers/net/wireless/iwlwifi/iwl-drv.c @@ -890,8 +890,6 @@ struct iwl_drv *iwl_drv_start(struct iwl_shared *shrd, struct iwl_drv *drv; int ret; - shrd->cfg = cfg; - drv = kzalloc(sizeof(*drv), GFP_KERNEL); if (!drv) { dev_printk(KERN_ERR, trans->dev, "Couldn't allocate iwl_drv"); |