On 7/12/2024 2:51 AM, Ashok Raj wrote: > 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); > Agree, this looks simpler Jithu