]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
powerpc: Remove unnecessary casts of private_data
authorJoe Perches <joe@perches.com>
Mon, 12 Jul 2010 10:49:55 +0000 (10:49 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 31 Jul 2010 04:56:31 +0000 (14:56 +1000)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kvm/timing.c

index 70378551c0cc1b0096383ba89b314a963654de1d..46fa04f12a9b979c7cbe50c703d43e2c2705604e 100644 (file)
@@ -182,7 +182,7 @@ static ssize_t kvmppc_exit_timing_write(struct file *file,
        }
 
        if (c == 'c') {
-               struct seq_file *seqf = (struct seq_file *)file->private_data;
+               struct seq_file *seqf = file->private_data;
                struct kvm_vcpu *vcpu = seqf->private;
                /* Write does not affect our buffers previously generated with
                 * show. seq_file is locked here to prevent races of init with