[PATCH] NVMe: Fix removal in case of active namespace list scanning method

Christoph Hellwig hch at infradead.org
Fri May 27 00:41:14 PDT 2016


> +		if (ns->ns_id > nsid) {
> +			nvme_ns_remove(ns);
> +		}

no need for this set of curly braces.

Otherwise looks fine:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list