diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-07-16 00:58:03 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-07-16 00:58:03 +0000 |
commit | 662a6225668accee49db1a59833bce5fb2e0e8ce (patch) | |
tree | 0ab981a2f38ced656f503000f51d9271da49aa14 /sys/dev | |
parent | 55719bce3b13e5f411e738756576acaeeafa7fef (diff) |
sc_atq_mtx is unused, so get rid of it
Diffstat (limited to 'sys/dev')
-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)); |