RE: [PATCH v4 2/4] ufs: core: Remove redundant desc_size variable from hba
From: Arthur Simchaev
Date: Thu Dec 08 2022 - 07:48:17 EST
>
> Comments should explain something that is nontrivial instead of duplicating
> the
> code. Additionally, this change makes ufshcd_map_desc_id_to_length() too
> short
> too keep it as a function. Please remove this function entirely and insert the
> following code into the callers of this function:
>
> desc_len = QUERY_DESC_MAX_SIZE
>
> Thanks,
>
> Bart.
Done
Regards
Arthur