On Thu, Jul 11, 2024 at 12:44:23PM +0300, Ilpo Järvinen wrote: > > +static bool sbaf_bundle_completed(union ifs_sbaf_status status) > > +{ > > + if (status.sbaf_status || status.error_code) > > + return false; > > + return true; > > This is same as: > > return !status.sbaf_status && !status.error_code; > Maybe another simplification return !(status.sbaf_status || status.error_code); -- Cheers, Ashok