Re: [PATCH] usb: dwc2: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare

From: Minas Harutyunyan
Date: Tue Dec 08 2020 - 02:35:23 EST


On 12/8/2020 11:29 AM, Artur Petrosyan wrote:
> On 12/4/2020 12:36, Xu Wang wrote:
>> Because clk_prepare_enable() and clk_disable_unprepare() already checked
>> NULL clock parameter, so the additional checks are unnecessary, just
>> remove them.
>>
>> Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>
>
> Reviewed-by: Artur Petrosyan <Arthur.Petrosyan@xxxxxxxxxxxx>
>

Acked-by: Minas Harutyunyan <Minas.Harutyunyan@xxxxxxxxxxxx>