diff options
author | 2014-09-13 16:06:36 +0000 | |
---|---|---|
committer | 2014-09-13 16:06:36 +0000 | |
commit | abcbcc4d80a0ed0907ba123021478336e6ec4c4a (patch) | |
tree | d04a4f6443a0b5220bf8f6ccbe79d0224cf82c21 /sys/dev/pci/qle.c | |
parent | document default EXTRACT_CASES support for *.tar.lzma (reminded by juanfra@) (diff) | |
download | wireguard-openbsd-abcbcc4d80a0ed0907ba123021478336e6ec4c4a.tar.xz wireguard-openbsd-abcbcc4d80a0ed0907ba123021478336e6ec4c4a.zip |
Replace all queue *_END macro calls except CIRCLEQ_END with NULL.
CIRCLEQ_* is deprecated and not called in the tree. The other queue types
have *_END macros which were added for symmetry with CIRCLEQ_END. They are
defined as NULL. There's no reason to keep the other *_END macro calls.
ok millert@
Diffstat (limited to 'sys/dev/pci/qle.c')
-rw-r--r-- | sys/dev/pci/qle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c index e15e49b92e6..db578923b1d 100644 --- a/sys/dev/pci/qle.c +++ b/sys/dev/pci/qle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qle.c,v 1.31 2014/07/13 23:10:23 deraadt Exp $ */ +/* $OpenBSD: qle.c,v 1.32 2014/09/13 16:06:37 doug Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -2313,7 +2313,7 @@ qle_do_update(void *xsc, void *x) } } - if (port == TAILQ_END(&sc->sc_ports)) + if (port == NULL) qle_update_done(sc, QLE_UPDATE_TASK_FABRIC_RELOGIN); continue; |