chore: remove not needed "expression ? true : false" (#4485)

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
Neo Xu
2023-08-26 04:58:21 +08:00
committed by GitHub
parent 7899f77ee9
commit b6c5ab3954
28 changed files with 62 additions and 63 deletions

View File

@@ -1373,5 +1373,5 @@ static bool indev_reset_check(lv_indev_t * indev)
indev_obj_act = NULL;
}
return indev->reset_query ? true : false;
return indev->reset_query;
}