diff options
-rw-r--r-- | sys/dev/pci/if_ixl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/if_ixl.c b/sys/dev/pci/if_ixl.c index aa2f9c362b1..89783aa9c7c 100644 --- a/sys/dev/pci/if_ixl.c +++ b/sys/dev/pci/if_ixl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ixl.c,v 1.66 2020/07/12 04:58:10 dlg Exp $ */ +/* $OpenBSD: if_ixl.c,v 1.67 2020/07/16 00:58:02 dlg Exp $ */ /* * Copyright (c) 2013-2015, Intel Corporation @@ -1256,7 +1256,6 @@ struct ixl_softc { const struct ixl_aq_regs * sc_aq_regs; - struct mutex sc_atq_mtx; struct ixl_dmamem sc_atq; unsigned int sc_atq_prod; unsigned int sc_atq_cons; @@ -1692,8 +1691,6 @@ ixl_attach(struct device *parent, struct device *self, void *aux) /* initialise the adminq */ - mtx_init(&sc->sc_atq_mtx, IPL_NET); - if (ixl_dmamem_alloc(sc, &sc->sc_atq, sizeof(struct ixl_aq_desc) * IXL_AQ_NUM, IXL_AQ_ALIGN) != 0) { printf("\n" "%s: unable to allocate atq\n", DEVNAME(sc)); |