Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755610Ab0GLUxG (ORCPT ); Mon, 12 Jul 2010 16:53:06 -0400 Received: from mail.perches.com ([173.55.12.10]:1783 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755018Ab0GLUvD (ORCPT ); Mon, 12 Jul 2010 16:51:03 -0400 From: Joe Perches To: Jiri Kosina Cc: linux-kernel@vger.kernel.org, Tyler Hicks , Dustin Kirkland , ecryptfs-devel@lists.launchpad.net Subject: [PATCH 24/36] fs/ecryptfs: Remove unnecessary casts of private_data Date: Mon, 12 Jul 2010 13:50:16 -0700 Message-Id: <98ae7e6c316dcdfdf5f19acd84ad4befa42f2a14.1278967121.git.joe@perches.com> X-Mailer: git-send-email 1.7.1.337.g6068.dirty In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 880 Lines: 26 Signed-off-by: Joe Perches --- fs/ecryptfs/ecryptfs_kernel.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h index 0032a9f..40186b9 100644 --- a/fs/ecryptfs/ecryptfs_kernel.h +++ b/fs/ecryptfs/ecryptfs_kernel.h @@ -477,7 +477,7 @@ ecryptfs_lower_header_size(struct ecryptfs_crypt_stat *crypt_stat) static inline struct ecryptfs_file_info * ecryptfs_file_to_private(struct file *file) { - return (struct ecryptfs_file_info *)file->private_data; + return file->private_data; } static inline void -- 1.7.1.337.g6068.dirty -- 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/