diff options
author | Bryan O'Sullivan <bos@pathscale.com> | 2006-05-23 22:32:32 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-05-24 00:27:06 +0400 |
commit | 94b8d9f98d7f535037eb9845b81396f667b4f727 (patch) | |
tree | 20eeb94120a7da859e27876aa997619ce73bc2a8 /drivers/infiniband/hw/ipath/ipath_ruc.c | |
parent | eaf6733bc176742fb08def2269441684e963c275 (diff) | |
download | linux-94b8d9f98d7f535037eb9845b81396f667b4f727.tar.xz |
IB/ipath: replace uses of LIST_POISON
Per Andrew's request.
Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_ruc.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_ruc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_ruc.c b/drivers/infiniband/hw/ipath/ipath_ruc.c index eb81424b3c5b..d38f4f3cfd1d 100644 --- a/drivers/infiniband/hw/ipath/ipath_ruc.c +++ b/drivers/infiniband/hw/ipath/ipath_ruc.c @@ -435,7 +435,7 @@ void ipath_no_bufs_available(struct ipath_qp *qp, struct ipath_ibdev *dev) unsigned long flags; spin_lock_irqsave(&dev->pending_lock, flags); - if (qp->piowait.next == LIST_POISON1) + if (list_empty(&qp->piowait)) list_add_tail(&qp->piowait, &dev->piowait); spin_unlock_irqrestore(&dev->pending_lock, flags); /* |