queue(3) NOTES says they're deprecated and expand to NULL; indeed.
No object change.
OK kettenis mvs
-/* $OpenBSD: pci.c,v 1.125 2022/06/17 10:08:36 kettenis Exp $ */
+/* $OpenBSD: pci.c,v 1.126 2022/11/27 22:55:31 kn Exp $ */
/* $NetBSD: pci.c,v 1.31 1997/06/06 23:48:04 thorpej Exp $ */
/*
func == sel->pc_func)
break;
}
- if (pd == LIST_END(&pci->sc_devs))
+ if (pd == NULL)
return ENXIO;
tag = pci_make_tag(pc, sel->pc_bus, sel->pc_dev, sel->pc_func);