[PATCH v4 1/9] ufs: host: mediatek: Simplify boolean conversion

Bart Van Assche bvanassche at acm.org
Tue Jul 22 08:39:01 PDT 2025


On 7/21/25 8:07 PM, peter.wang at mediatek.com wrote:
> This patch simplifies the conversion from unsigned int to boolean
> by removing explicit conversions and parentheses, relying on implicit
> conversion instead. This change ensures consistency with other
> usages in ufs-mediatek.c and streamlines the code.

Reviewed-by: Bart Van Assche <bvanassche at acm.org>



More information about the Linux-mediatek mailing list