diff options
author | Minwoo Im | 2021-01-17 15:53:33 +0100 |
---|---|---|
committer | Klaus Jensen | 2021-02-08 21:15:53 +0100 |
commit | 337ccd7650cfab379bfba9eed54ad790e88ec62e (patch) | |
tree | 8b1b556bb836e7928de89844c02fd1166e1068d1 | |
parent | hw/block/nvme: open code for volatile write cache (diff) | |
download | qemu-337ccd7650cfab379bfba9eed54ad790e88ec62e.tar.gz qemu-337ccd7650cfab379bfba9eed54ad790e88ec62e.tar.xz qemu-337ccd7650cfab379bfba9eed54ad790e88ec62e.zip |
hw/block/nvme: remove unused argument in nvme_ns_init_blk
Removed no longer used aregument NvmeCtrl object in nvme_ns_init_blk().
Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
-rw-r--r-- | hw/block/nvme-ns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/block/nvme-ns.c b/hw/block/nvme-ns.c index 7a5a779837..17e876e6bc 100644 --- a/hw/block/nvme-ns.c +++ b/hw/block/nvme-ns.c @@ -66,7 +66,7 @@ static int nvme_ns_init(NvmeNamespace *ns, Error **errp) return 0; } -static int nvme_ns_init_blk(NvmeCtrl *n, NvmeNamespace *ns, Error **errp) +static int nvme_ns_init_blk(NvmeNamespace *ns, Error **errp) { bool read_only; @@ -307,7 +307,7 @@ int nvme_ns_setup(NvmeCtrl *n, NvmeNamespace *ns, Error **errp) return -1; } - if (nvme_ns_init_blk(n, ns, errp)) { + if (nvme_ns_init_blk(ns, errp)) { return -1; } |