16 Nov, 2010
1 commit
-
refactor mac80211 debugfs code by using a format© function, instead of
duplicating the code for each generated function.this change reduces about 600B from mac80211.ko
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville
18 May, 2010
1 commit
-
This patch removes from net/ (but not any netfilter files)
all the unnecessary return; statements that precede the
last closing brace of void functions.It does not remove the returns that are immediately
preceded by a label as gcc doesn't like that.Done via:
$ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'Signed-off-by: Joe Perches
Signed-off-by: David S. Miller
31 Oct, 2009
1 commit
-
We can save a lot of code and pointers in the structs
by using debugfs_remove_recursive().First, change cfg80211 to use debugfs_remove_recursive()
so that drivers do not need to clean up any files they
added to the per-wiphy debugfs (if and only if they are
ok to be accessed until after wiphy_unregister!).Then also make mac80211 use debugfs_remove_recursive()
where necessary -- it need not remove per-wiphy files
as cfg80211 now removes those, but netdev etc. files
still need to be handled but can now be removed without
needing struct dentry pointers to all of them.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville
06 May, 2007
1 commit
-
Export various mac80211 internal variables through debugfs.
Signed-off-by: Jiri Benc
Signed-off-by: John W. Linville
Signed-off-by: David S. Miller