[PATCH] nvme: remove unnecessary return values

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Wed Nov 11 23:11:26 EST 2020


On 11/11/20 12:10, javier at javigon.com wrote:
> From: Javier González <javier.gonz at samsung.com>
>
> Cleanup unnecessary ret values that are not checked or used in
> nvme_alloc_ns()
>
> Signed-off-by: Javier González <javier

The ret value pattern is used to avoid the calls in the if () which is

not clean based on the comments I had in the past.




More information about the Linux-nvme mailing list