diff options
| author | Steven Rostedt <[email protected]> | 2013-07-03 15:05:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-03 16:07:45 -0700 |
| commit | ff1c8fac88ab8e7dac65236b277908c7c5c7ab09 (patch) | |
| tree | 83d3dc572683e7151e4f2ec9ecea5ff8ad5e007f /tools/perf/scripts/python/netdev-times.py | |
| parent | 351b2a1fe2d06f44b4c06d377744b2ac408b7407 (diff) | |
init: remove permanent string buffer from do_one_initcall()
do_one_initcall() uses a 64 byte string buffer to save a message. This
buffer is declared static and is only used at boot up and when a module
is loaded. As 64 bytes is very small, and this function has very limited
scope, there's no reason to waste permanent memory with this string and
not just simply put it on the stack.
Signed-off-by: Steven Rostedt <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions