tracing/event: Cleanup the useless dentry variable
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 24 Sep 2009 13:27:41 +0000 (15:27 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 24 Sep 2009 13:27:41 +0000 (15:27 +0200)
commitf3f3f0092477d0165f3f1bf0fd518550b2abd097
tree5ce5a880fd86e7e865e6a5155ab404e106125f8e
parent737f453fd115ea0c9642ed6b30e37e296a4e3ed7
tracing/event: Cleanup the useless dentry variable

Cleanup the useless dentry variable while creating a kernel
event set of files. trace_create_file() warns if it fails to
create the file anyway, and we don't store the dentry anywhere.

v2: Fix a small conflict in kernel/trace/trace_events.c

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Li Zefan <lizf@cn.fujitsu.com>
kernel/trace/trace_events.c