aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-07-12 10:49:55 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-07-31 14:56:31 +1000
commitea01c6b487d53571e2e5f15a0fd41700c1e0486d (patch)
tree8d68b73d1bad81d484b6d45484c87584b4d4f925 /arch
parentbbc8e30f17077f83fdeeeca0cf70e0f179279282 (diff)
downloadkernel_samsung_aries-ea01c6b487d53571e2e5f15a0fd41700c1e0486d.zip
kernel_samsung_aries-ea01c6b487d53571e2e5f15a0fd41700c1e0486d.tar.gz
kernel_samsung_aries-ea01c6b487d53571e2e5f15a0fd41700c1e0486d.tar.bz2
powerpc: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kvm/timing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/timing.c b/arch/powerpc/kvm/timing.c
index 7037855..46fa04f 100644
--- a/arch/powerpc/kvm/timing.c
+++ b/arch/powerpc/kvm/timing.c
@@ -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