summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-07-03 15:05:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 16:07:45 -0700
commitff1c8fac88ab8e7dac65236b277908c7c5c7ab09 (patch)
tree83d3dc572683e7151e4f2ec9ecea5ff8ad5e007f /lib/Kconfig
parent351b2a1fe2d06f44b4c06d377744b2ac408b7407 (diff)
downloadlinux-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/Kconfig')
0 files changed, 0 insertions, 0 deletions