diff options
author | matt mooney <mfm@muteddisk.com> | 2010-09-27 19:04:53 -0700 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-18 10:53:22 -0400 |
commit | 907f27840985fe6a0c62e43cd4702c6e04b4bcc7 (patch) | |
tree | 1023e32295a25e0602aef4bab14f41b97975f6bd /kernel/trace/ftrace.c | |
parent | f92f6e6ee35d2779aa62e70f78ad8e1cd417eb52 (diff) | |
download | blackbird-op-linux-907f27840985fe6a0c62e43cd4702c6e04b4bcc7.tar.gz blackbird-op-linux-907f27840985fe6a0c62e43cd4702c6e04b4bcc7.zip |
tracing/trivial: Remove cast from void*
Unnecessary cast from void* in assignment.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r-- | kernel/trace/ftrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 65fb077ea79c..ebd80d50c474 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -1638,8 +1638,8 @@ ftrace_failures_open(struct inode *inode, struct file *file) ret = ftrace_avail_open(inode, file); if (!ret) { - m = (struct seq_file *)file->private_data; - iter = (struct ftrace_iterator *)m->private; + m = file->private_data; + iter = m->private; iter->flags = FTRACE_ITER_FAILURES; } |