Re: [PATCH 2/4] platform/chrome: cros_typec_switch: Remove impossible condition

From: Prashant Malani
Date: Tue Aug 30 2022 - 19:05:26 EST


On Tue, Aug 30, 2022 at 3:58 PM Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote:
>
> The type of 'index' is unsigned long long, which can't possibly be less
> than zero. Remove the impossible check.
>
> Cc: Prashant Malani <pmalani@xxxxxxxxxxxx>
> Cc: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
Acked-by: Prashant Malani <pmalani@xxxxxxxxxxxx>