summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-28 04:04:53 +0200
committerSteven Rostedt <rostedt@goodmis.org>2010-10-18 16:53:22 +0200
commit907f27840985fe6a0c62e43cd4702c6e04b4bcc7 (patch)
tree1023e32295a25e0602aef4bab14f41b97975f6bd /kernel/trace/trace.c
parentMerge branch 'core' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/opr... (diff)
downloadlinux-907f27840985fe6a0c62e43cd4702c6e04b4bcc7.tar.xz
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/trace.c')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 9ec59f541156..001bcd2ccf4a 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -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;