Commit 907f2784 authored by matt mooney's avatar matt mooney Committed by Steven Rostedt

tracing/trivial: Remove cast from void*

Unnecessary cast from void* in assignment.
Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent f92f6e6e
...@@ -1638,8 +1638,8 @@ ftrace_failures_open(struct inode *inode, struct file *file) ...@@ -1638,8 +1638,8 @@ ftrace_failures_open(struct inode *inode, struct file *file)
ret = ftrace_avail_open(inode, file); ret = ftrace_avail_open(inode, file);
if (!ret) { if (!ret) {
m = (struct seq_file *)file->private_data; m = file->private_data;
iter = (struct ftrace_iterator *)m->private; iter = m->private;
iter->flags = FTRACE_ITER_FAILURES; iter->flags = FTRACE_ITER_FAILURES;
} }
......
...@@ -2196,7 +2196,7 @@ int tracing_open_generic(struct inode *inode, struct file *filp) ...@@ -2196,7 +2196,7 @@ int tracing_open_generic(struct inode *inode, struct file *filp)
static int tracing_release(struct inode *inode, struct file *file) static int tracing_release(struct inode *inode, struct file *file)
{ {
struct seq_file *m = (struct seq_file *)file->private_data; struct seq_file *m = file->private_data;
struct trace_iterator *iter; struct trace_iterator *iter;
int cpu; int cpu;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment