diff options
| author | Guobin Huang <huangguobin4@huawei.com> | 2021-04-06 19:56:03 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-07 17:19:30 +0200 |
| commit | 399d44a1b13d6e83a01fa249fc12e1b69ae8e735 (patch) | |
| tree | 75c53d86bb3c1a74b0388fa3ef22852412eaba7d /tools/perf/scripts/python | |
| parent | 158e800e0fde91014812f5cdfb92ce812e3a33b4 (diff) | |
| download | linux-399d44a1b13d6e83a01fa249fc12e1b69ae8e735.tar.gz linux-399d44a1b13d6e83a01fa249fc12e1b69ae8e735.zip | |
tty: n_gsm: use DEFINE_SPINLOCK() for spinlock
spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Guobin Huang <huangguobin4@huawei.com>
Link: https://lore.kernel.org/r/1617710163-48158-1-git-send-email-huangguobin4@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
