mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
f92f6e6ee3
commit
907f278409
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -2196,7 +2196,7 @@ int tracing_open_generic(struct inode *inode, struct file *filp)
|
|||
|
||||
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;
|
||||
int cpu;
|
||||
|
||||
|
|
Loading…
Reference in New Issue