Re: [PATCH 09/36] drivers/infiniband: Remove unnecessary casts ofprivate_data

From: Ralph Campbell
Date: Tue Jul 13 2010 - 14:41:44 EST


Acked-by: Ralph Campbell <ralph.campbell@xxxxxxxxxx>

On Mon, 2010-07-12 at 13:50 -0700, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/