[PATCH V2 3/8] nvme-core: code cleanup for __nvme_check_ready()

Pankaj Raghav p.raghav at samsung.com
Mon Mar 27 04:15:03 PDT 2023


>  		}
> +		break;
> +	default:
> +		break;
> +	case NVME_CTRL_DEAD:
> +		return false;
While you are at it, doesn't it make sense to have default as the last
switch case instead of NVME_CTRL_DEAD. It looks a bit strange to have
something else after the default case.



More information about the Linux-nvme mailing list