tracing: Clean up tb_fmt to not give faulty compile warning
authorSteven Rostedt <srostedt@redhat.com>
Tue, 9 Aug 2011 01:39:39 +0000 (21:39 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 11 Aug 2011 00:36:32 +0000 (20:36 -0400)
commit3a301d7c1c68fd96bbcf82db82d9508918e0dc22
treec1fc544070e5b85bbdabe7a0bdd4b5859378e7a3
parent322a8b034003c0d46d39af85bf24fee27b902f48
tracing: Clean up tb_fmt to not give faulty compile warning

gcc incorrectly states that the variable "fmt" is uninitialized when
CC_OPITMIZE_FOR_SIZE is set.

Instead of just blindly setting fmt to NULL, the code is cleaned up
a little to be a bit easier for humans to follow, as well as gcc
to know the variables are initialized.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_printk.c