Message ID | 20210117145341.23310-4-minwoo.im.dev@gmail.com |
---|---|
State | New |
Headers | show |
Series | hw/block/nvme: support multi-path for ctrl/ns | expand |
On Jan 17 23:53, Minwoo Im wrote: > Removed no longer used aregument NvmeCtrl object in nvme_ns_init_blk(). > > Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> I don't think it's too unwieldy for this to be squashed into [02/11], but Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
diff --git a/hw/block/nvme-ns.c b/hw/block/nvme-ns.c index c403cd36b6bd..fc42ae184e01 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) { if (!blkconf_blocksizes(&ns->blkconf, errp)) { return -1; @@ -306,7 +306,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; }
Removed no longer used aregument NvmeCtrl object in nvme_ns_init_blk(). Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> --- hw/block/nvme-ns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)