lkml.org 
[lkml]   [2010]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/13] drivers/infiniband: Remove unnecessary casts of private_data
On Tue, 7 Sep 2010, Ralph Campbell wrote:

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

Applied, thanks.

> > Signed-off-by: Joe Perches <joe@perches.com>
> > ---
> > drivers/infiniband/hw/qib/qib_file_ops.c | 4 ++--
> > 1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c
> > index 6b11645..cef5d67 100644
> > --- a/drivers/infiniband/hw/qib/qib_file_ops.c
> > +++ b/drivers/infiniband/hw/qib/qib_file_ops.c
> > @@ -1722,7 +1722,7 @@ static int qib_close(struct inode *in, struct file *fp)
> >
> > mutex_lock(&qib_mutex);
> >
> > - fd = (struct qib_filedata *) fp->private_data;
> > + fd = fp->private_data;
> > fp->private_data = NULL;
> > rcd = fd->rcd;
> > if (!rcd) {
> > @@ -1808,7 +1808,7 @@ static int qib_ctxt_info(struct file *fp, struct qib_ctxt_info __user *uinfo)
> > struct qib_ctxtdata *rcd = ctxt_fp(fp);
> > struct qib_filedata *fd;
> >
> > - fd = (struct qib_filedata *) fp->private_data;
> > + fd = fp->private_data;
> >
> > info.num_active = qib_count_active_units();
> > info.unit = rcd->dd->unit;

--
Jiri Kosina
SUSE Labs, Novell Inc.


\
 
 \ /
  Last update: 2010-09-27 20:09    [W:0.048 / U:26.268 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site