Re: [PATCH v2 -next] usb: host: use DEFINE_MUTEX() for mutex lock

From: Greg KH
Date: Mon Dec 28 2020 - 09:35:25 EST


On Thu, Dec 24, 2020 at 09:25:45PM +0800, Zheng Yongjun wrote:
> mutex lock can be initialized automatically with DEFINE_MUTEX()
> rather than explicitly calling mutex_init().
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
> ---
> drivers/usb/host/u132-hcd.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

What changed from v1? Again, please put that below the --- line and
resend a v3.

thanks,

greg k-h