diff options
| author | pgoyette <pgoyette@NetBSD.org> | 2022-07-09 01:24:32 +0000 |
|---|---|---|
| committer | pgoyette <pgoyette@NetBSD.org> | 2022-07-09 01:24:32 +0000 |
| commit | ee0772ec093013e752810dbb585d7dca9a1e40cb (patch) | |
| tree | 00999ab6be70962a354f06d8a70c270a63f01815 /sys/dev | |
| parent | fb06079204a3d27bfe729f890aca7a825edfdbc3 (diff) | |
Remove redundant ``devsw_ok = false;''
Thanks mrg@
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/nvme_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/nvme_pci.c b/sys/dev/pci/nvme_pci.c index 08db06543a7..81d4689c3d4 100644 --- a/sys/dev/pci/nvme_pci.c +++ b/sys/dev/pci/nvme_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: nvme_pci.c,v 1.35 2022/07/08 17:32:19 pgoyette Exp $ */ +/* $NetBSD: nvme_pci.c,v 1.36 2022/07/09 01:24:32 pgoyette Exp $ */ /* $OpenBSD: nvme_pci.c,v 1.3 2016/04/14 11:18:32 dlg Exp $ */ /* @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: nvme_pci.c,v 1.35 2022/07/08 17:32:19 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nvme_pci.c,v 1.36 2022/07/09 01:24:32 pgoyette Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -506,7 +506,7 @@ nvme_modcmd(modcmd_t cmd, void *opaque) error = devsw_attach(nvme_cd.cd_name, NULL, &bmajor, &nvme_cdevsw, &cmajor); if (error) { - devsw_ok = false; + /*XXXPRG devsw_ok = false;*/ aprint_error("%s: unable to register devsw, err %d\n", nvme_cd.cd_name, error); /* do not abort, just /dev/nvme* will not work */ |
