Re: [PATCH 1/1] cxl/feature: Remove redundant code of get supported features

From: Jonathan Cameron
Date: Mon May 19 2025 - 11:33:34 EST


On Fri, 16 May 2025 22:32:20 +0800
Li Ming <ming.li@xxxxxxxxxxxx> wrote:

> In cxlctl_get_supported_features(), there is a code block that handles
> the case where the requested is equal to 0. But the code following the
> code block can also handle this situation. So the code block is not
> needed.
>
> Signed-off-by: Li Ming <ming.li@xxxxxxxxxxxx>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>