diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-01-22 17:22:54 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-25 16:36:24 -0500 |
commit | 4c84a8f1679f754d6080e49892f5cae2c88c91a8 (patch) | |
tree | 3dd28d0fe728843b2fec4f05ca53c0b0f45b6dfe /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 158bea07c6017fa67bc0c64815ce5c3a998083dc (diff) |
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 { | |||
1309 | u16 rx_traffic_idx; | 1309 | u16 rx_traffic_idx; |
1310 | u8 *tx_traffic; | 1310 | u8 *tx_traffic; |
1311 | u8 *rx_traffic; | 1311 | u8 *rx_traffic; |
1312 | struct iwl_debugfs *dbgfs; | 1312 | struct dentry *debugfs_dir; |
1313 | u32 dbgfs_sram_offset, dbgfs_sram_len; | ||
1313 | #endif /* CONFIG_IWLWIFI_DEBUGFS */ | 1314 | #endif /* CONFIG_IWLWIFI_DEBUGFS */ |
1314 | #endif /* CONFIG_IWLWIFI_DEBUG */ | 1315 | #endif /* CONFIG_IWLWIFI_DEBUG */ |
1315 | 1316 | ||