diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-01-22 23:22:54 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-25 22:36:24 +0100 |
commit | 4c84a8f1679f754d6080e49892f5cae2c88c91a8 (patch) | |
tree | 3dd28d0fe728843b2fec4f05ca53c0b0f45b6dfe /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | iwlwifi: reorder device setup (diff) | |
download | linux-4c84a8f1679f754d6080e49892f5cae2c88c91a8.tar.xz linux-4c84a8f1679f754d6080e49892f5cae2c88c91a8.zip |
iwlwifi: clean up debugfs code
The debugfs code can be made a whole lot more
efficient by using debugfs_remove_recursive(),
the large chunk of variables can completely go
away and by moving two variables we no longer
need to allocate an extra chunk of memory.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index a1f3ecb69ed0..d9f325bd4b69 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h @@ -1309,7 +1309,8 @@ struct iwl_priv { u16 rx_traffic_idx; u8 *tx_traffic; u8 *rx_traffic; - struct iwl_debugfs *dbgfs; + struct dentry *debugfs_dir; + u32 dbgfs_sram_offset, dbgfs_sram_len; #endif /* CONFIG_IWLWIFI_DEBUGFS */ #endif /* CONFIG_IWLWIFI_DEBUG */ |