On Sun, 2021-04-25 at 12:50 +0200, Stefan Wahren wrote: > Nesting multiple ternary operators over multiple lines isn't easy to > read. Move this logic into a separate inline function. > > Signed-off-by: Stefan Wahren <stefan.wahren@xxxxxxxx> > --- Reviewed-by: Nicolas Saenz Julienne <nsaenz@xxxxxxxxxx> Thanks, Nicolas