From: Joe Perches Date: Mon, 12 Jul 2010 10:49:55 +0000 (+0000) Subject: powerpc: Remove unnecessary casts of private_data X-Git-Tag: v2.6.36-rc1~559^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ea01c6b487d53571e2e5f15a0fd41700c1e0486d;p=karo-tx-linux.git powerpc: Remove unnecessary casts of private_data Signed-off-by: Joe Perches Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/kvm/timing.c b/arch/powerpc/kvm/timing.c index 70378551c0cc..46fa04f12a9b 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