Re: [PATCH misc-next] drivers/misc: remove redundant rc variable

From: Andrew Donnellan
Date: Wed Dec 15 2021 - 03:52:44 EST


On 15/12/21 5:04 pm, cgel.zte@xxxxxxxxx wrote:
From: Minghao Chi <chi.minghao@xxxxxxxxxx>

Return value from ocxl_context_attach() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: Minghao Chi <chi.minghao@xxxxxxxxxx>

Acked-by: Andrew Donnellan <ajd@xxxxxxxxxxxxx>

--
Andrew Donnellan OzLabs, ADL Canberra
ajd@xxxxxxxxxxxxx IBM Australia Limited