summaryrefslogtreecommitdiff
path: root/drivers/usb/core/hub.c
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2021-04-05 18:14:34 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-09 16:02:30 +0200
commit7c53624cbdbe9f6b0c71533efd7c8637ea4a47e3 (patch)
treef28283142ad2bc491f1fcf6edcce0802ca028f8d /drivers/usb/core/hub.c
parent9c2076090c2815fe7c49676df68dde7e60a9b9fc (diff)
usb: host: u132-hcd: use DEFINE_MUTEX() for mutex lock
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Link: https://lore.kernel.org/r/20210405101434.14878-1-zhengyongjun3@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/hub.c')
0 files changed, 0 insertions, 0 deletions