On Wed, 7 May 2025 08:49:46 -0500 David Lechner <dlechner@xxxxxxxxxxxx> wrote: > On 5/7/25 8:45 AM, Colin Ian King wrote: > > The variable ret is being assigned a return value and non-zero error > > return paths are taken at all stages. At the end of the function ret > > is always zero, so the ternary operator checking for zero ret is > > redundant and can be replaced with just len instead. > > > > Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx> > > --- > > Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx> > Applied.