lkml.org 
[lkml]   [2010]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 09/36] drivers/infiniband: Remove unnecessary casts of private_data
From
Date
Acked-by: Ralph Campbell <ralph.campbell@qlogic.com>

On Mon, 2010-07-12 at 13:50 -0700, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
> 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) {




\
 
 \ /
  Last update: 2010-07-13 20:43    [W:0.533 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site