[PATCH] nvme: remove unnecessary return values
Javier González
javier at javigon.com
Thu Nov 12 01:54:01 EST 2020
> On 12 Nov 2020, at 05.11, Chaitanya Kulkarni <Chaitanya.Kulkarni at wdc.com> wrote:
>
> 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.
Thanks for the comment Chaitanya. I was working around this function and TBH I have never thought about it this way.
Will add it to the toolbelt then.
More information about the Linux-nvme
mailing list