diff options
| author | Linus Lüssing <linus.luessing@web.de> | 2010-11-22 00:55:54 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-29 11:09:11 -0800 |
| commit | 1623948f879069b33d07986aa95e3b9969322ff4 (patch) | |
| tree | 5863833f792e64790a20f26a2b855f0fb252ed9a /tools/perf/scripts/python | |
| parent | add9e1722755072f40d79104db04e350b25624d9 (diff) | |
Staging: batman-adv: Ommit storing struct device in sysfs functions
We actually do not need an extra struct device variable, therefore
replacing them with defines that directly get the bat_priv or
net_device. This further reduces the code size in bat_sysfs.c and
especially shortens some macros.
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
