diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2013-07-03 15:05:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:07:45 -0700 |
commit | ff1c8fac88ab8e7dac65236b277908c7c5c7ab09 (patch) | |
tree | 83d3dc572683e7151e4f2ec9ecea5ff8ad5e007f /lib/parser.c | |
parent | 351b2a1fe2d06f44b4c06d377744b2ac408b7407 (diff) | |
download | linux-ff1c8fac88ab8e7dac65236b277908c7c5c7ab09.tar.gz linux-ff1c8fac88ab8e7dac65236b277908c7c5c7ab09.tar.bz2 linux-ff1c8fac88ab8e7dac65236b277908c7c5c7ab09.zip |
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 <rostedt@goodmis.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions