diff mbox

[03/36] arch/powerpc: Remove unnecessary casts of private_data

Message ID d0c55635c673debb83f0d45d77e5a5187aea4f2f.1278967120.git.joe@perches.com (mailing list archive)
State New, archived
Headers show

Commit Message

Joe Perches July 12, 2010, 8:49 p.m. UTC
None
diff mbox

Patch

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