On Thu, 2024-03-14 at 19:33 -0700, Bart Van Assche wrote: > > External email : Please do not click links or open attachments until > you have verified the sender or the content. > On 3/7/24 23:02, peter.wang@xxxxxxxxxxxx wrote: > > +static bool ufs_mtk_is_allow_vccqx_lpm(struct ufs_hba *hba) > > +{ > > +struct ufs_mtk_host *host = ufshcd_get_variant(hba); > > + > > +return !!(host->caps & UFS_MTK_CAP_ALLOW_VCCQX_LPM); > > +} > > Please leave out the !!. The compiler does this for you when > implicitly > converting an int into a bool. > > Thanks, > > Bart. > Hi Bart, Will remove "!!" next version Thanks. Peter