]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit4c84a8f1679f754d6080e49892f5cae2c88c91a8
tree3dd28d0fe728843b2fec4f05ca53c0b0f45b6dfe
parent158bea07c6017fa67bc0c64815ce5c3a998083dc
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