Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic also remove now duplicate nvme_ccb_put() call fro...



details:   https://anonhg.NetBSD.org/src/rev/7908e513f819
branches:  trunk
changeset: 321468:7908e513f819
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Mar 17 09:45:44 2018 +0000

description:
also remove now duplicate nvme_ccb_put() call from nvme_get_number_of_queues()

diffstat:

 sys/dev/ic/nvme.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 856d131b1a31 -r 7908e513f819 sys/dev/ic/nvme.c
--- a/sys/dev/ic/nvme.c Sat Mar 17 09:36:32 2018 +0000
+++ b/sys/dev/ic/nvme.c Sat Mar 17 09:45:44 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvme.c,v 1.36 2018/03/17 09:36:32 jdolecek Exp $       */
+/*     $NetBSD: nvme.c,v 1.37 2018/03/17 09:45:44 jdolecek Exp $       */
 /*     $OpenBSD: nvme.c,v 1.49 2016/04/18 05:59:50 dlg Exp $ */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvme.c,v 1.36 2018/03/17 09:36:32 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvme.c,v 1.37 2018/03/17 09:45:44 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1465,8 +1465,6 @@
 
        rv = nvme_poll(sc, sc->sc_admin_q, ccb, nvme_pt_fill, NVME_TIMO_QOP);
 
-       nvme_ccb_put(sc->sc_admin_q, ccb);
-
        if (rv != 0) {
                *nqap = 0;
                return EIO;



Home | Main Index | Thread Index | Old Index