From patchwork Mon Jul 12 20:49:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 111524 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6CKvcfv029063 for ; Mon, 12 Jul 2010 20:58:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754445Ab0GLU5t (ORCPT ); Mon, 12 Jul 2010 16:57:49 -0400 Received: from mail.perches.com ([173.55.12.10]:1725 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754099Ab0GLUue (ORCPT ); Mon, 12 Jul 2010 16:50:34 -0400 Received: from Joe-Laptop.home (Joe-Laptop.home [192.168.1.151]) by mail.perches.com (Postfix) with ESMTP id 019812436D; Mon, 12 Jul 2010 13:50:29 -0700 (PDT) From: Joe Perches To: Jiri Kosina Cc: linux-kernel@vger.kernel.org, Avi Kivity , Marcelo Tosatti , Alexander Graf , Benjamin Herrenschmidt , Paul Mackerras , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, linuxppc-dev@ozlabs.org Subject: [PATCH 03/36] arch/powerpc: Remove unnecessary casts of private_data Date: Mon, 12 Jul 2010 13:49:55 -0700 Message-Id: X-Mailer: git-send-email 1.7.1.337.g6068.dirty In-Reply-To: References: Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 12 Jul 2010 20:58:11 +0000 (UTC) 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