[PATCH v2 8/9] nvmet: passthru: remove unreachable break statements

Nilay Shroff nilay at linux.ibm.com
Fri Nov 6 05:20:25 PST 2026


On 11/6/26 7:57 AM, Guixin Liu wrote:
> In the nvme_admin_set_features and nvme_admin_get_features handlers of
> nvmet_passthru_parse_cmd(), every path of the inner switch over the
> feature id returns, so the break statement following the switch can
> never be reached. Remove them.
> 
> Signed-off-by: Guixin Liu<kanie at linux.alibaba.com>

Looks good to me:
Reviewed-by: Nilay Shroff <nilay at linux.ibm.com>




More information about the Linux-nvme mailing list