Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757229Ab0GMSll (ORCPT ); Tue, 13 Jul 2010 14:41:41 -0400 Received: from avexcashub1.qlogic.com ([198.70.193.61]:43141 "EHLO avexcashub1.qlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754110Ab0GMSlj (ORCPT ); Tue, 13 Jul 2010 14:41:39 -0400 Subject: Re: [PATCH 09/36] drivers/infiniband: Remove unnecessary casts of private_data From: Ralph Campbell To: Joe Perches CC: Jiri Kosina , "linux-kernel@vger.kernel.org" , Infinipath , Roland Dreier , Sean Hefty , Hal Rosenstock , "linux-rdma@vger.kernel.org" In-Reply-To: <0074ff36bc27b141d3639e2d516cc6cd48364df6.1278967120.git.joe@perches.com> References: <0074ff36bc27b141d3639e2d516cc6cd48364df6.1278967120.git.joe@perches.com> Content-Type: text/plain; charset="us-ascii" Organization: QLogic Date: Tue, 13 Jul 2010 11:41:37 -0700 Message-ID: <1279046497.2296.170.camel@chromite.mv.qlogic.com> MIME-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1027 Lines: 28 Acked-by: Ralph Campbell On Mon, 2010-07-12 at 13:50 -0700, Joe Perches wrote: > Signed-off-by: Joe Perches > --- > drivers/infiniband/hw/ipath/ipath_file_ops.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/infiniband/hw/ipath/ipath_file_ops.c b/drivers/infiniband/hw/ipath/ipath_file_ops.c > index 9c5c66d..65eb892 100644 > --- a/drivers/infiniband/hw/ipath/ipath_file_ops.c > +++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c > @@ -2055,7 +2055,7 @@ static int ipath_close(struct inode *in, struct file *fp) > > mutex_lock(&ipath_mutex); > > - fd = (struct ipath_filedata *) fp->private_data; > + fd = fp->private_data; > fp->private_data = NULL; > pd = fd->pd; > if (!pd) { -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/