Module Name: src Committed By: yamaguchi Date: Thu Dec 10 04:00:11 UTC 2020
Modified Files: src/sys/dev/pci: if_iavf.c Log Message: remove unnecessary lock acquire and release To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/if_iavf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/if_iavf.c diff -u src/sys/dev/pci/if_iavf.c:1.9 src/sys/dev/pci/if_iavf.c:1.10 --- src/sys/dev/pci/if_iavf.c:1.9 Thu Dec 10 03:58:35 2020 +++ src/sys/dev/pci/if_iavf.c Thu Dec 10 04:00:11 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: if_iavf.c,v 1.9 2020/12/10 03:58:35 yamaguchi Exp $ */ +/* $NetBSD: if_iavf.c,v 1.10 2020/12/10 04:00:11 yamaguchi Exp $ */ /* * Copyright (c) 2013-2015, Intel Corporation @@ -75,7 +75,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_iavf.c,v 1.9 2020/12/10 03:58:35 yamaguchi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_iavf.c,v 1.10 2020/12/10 04:00:11 yamaguchi Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -4842,9 +4842,6 @@ iavf_config_rss_lut(struct iavf_softc *s uint8_t *lut, v; int rv, i; - mutex_enter(&sc->sc_adminq_lock); - mutex_exit(&sc->sc_adminq_lock); - aqb = iavf_aqb_get(sc, &sc->sc_atq_idle); if (aqb == NULL) return -1;