diff options
author | Minwoo Im <minwoo.im.dev@gmail.com> | 2021-01-17 23:53:33 +0900 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-02-08 21:15:53 +0100 |
commit | 337ccd7650cfab379bfba9eed54ad790e88ec62e (patch) | |
tree | 8b1b556bb836e7928de89844c02fd1166e1068d1 /hw | |
parent | aa5e55e3b07ede87a8fd7aa3e67583dfc464dd52 (diff) | |
download | qemu-337ccd7650cfab379bfba9eed54ad790e88ec62e.zip qemu-337ccd7650cfab379bfba9eed54ad790e88ec62e.tar.gz qemu-337ccd7650cfab379bfba9eed54ad790e88ec62e.tar.bz2 |
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>
Diffstat (limited to 'hw')
-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 7a5a779..17e876e 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; } |