]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: clean up debugfs code
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 22 Jan 2010 22:22:54 +0000 (14:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Jan 2010 21:36:24 +0000 (16:36 -0500)
commit319013dbf549f3536b1fab403ed515d8c2e4b51f
tree3dd28d0fe728843b2fec4f05ca53c0b0f45b6dfe
parentbdd9d3e80d05b2b006ec6015d4f449bb437d9a9a
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>
drivers/net/wireless/iwlwifi/iwl-debug.h
drivers/net/wireless/iwlwifi/iwl-debugfs.c
drivers/net/wireless/iwlwifi/iwl-dev.h