Skip to content

Commit

Permalink
powerpc: Remove unnecessary casts of private_data
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
  • Loading branch information
JoePerches authored and ozbenh committed Jul 31, 2010
1 parent bbc8e30 commit ea01c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kvm/timing.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea01c6b

Please sign in to comment.