From patchwork Mon Jul 12 20:50:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 111522 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 o6CKvcfu029063 for ; Mon, 12 Jul 2010 20:58:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755871Ab0GLU5B (ORCPT ); Mon, 12 Jul 2010 16:57:01 -0400 Received: from mail.perches.com ([173.55.12.10]:1727 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754319Ab0GLUuj (ORCPT ); Mon, 12 Jul 2010 16:50:39 -0400 Received: from Joe-Laptop.home (Joe-Laptop.home [192.168.1.151]) by mail.perches.com (Postfix) with ESMTP id 48C202436C; Mon, 12 Jul 2010 13:50:34 -0700 (PDT) From: Joe Perches To: Jiri Kosina Cc: linux-kernel@vger.kernel.org, Ralph Campbell , Roland Dreier , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org Subject: [PATCH 09/36] drivers/infiniband: Remove unnecessary casts of private_data Date: Mon, 12 Jul 2010 13:50:01 -0700 Message-Id: <0074ff36bc27b141d3639e2d516cc6cd48364df6.1278967120.git.joe@perches.com> X-Mailer: git-send-email 1.7.1.337.g6068.dirty In-Reply-To: References: Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@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:10 +0000 (UTC) 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) {