2024-03-04 14:39:59

by David Lechner

[permalink] [raw]
Subject: Re: [PATCH v1 2/2] iio: core: Calculate alloc_size only once in iio_device_alloc()

On Mon, Mar 4, 2024 at 8:07 AM Andy Shevchenko
<[email protected]> wrote:
>
> No need to rewrite the value, instead use 'else' branch.
> This will also help further refactoring the code later on.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---

Reviewed-by: David Lechner <[email protected]>