diff options
author | Guobin Huang <huangguobin4@huawei.com> | 2021-04-06 20:09:48 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-06 09:31:42 -0600 |
commit | 9c282c29a3aee7d439ea871bd21a3e58bc37175e (patch) | |
tree | 5292d63b960e26a4d13fb1fde43085804e516235 /tools/perf/scripts/python | |
parent | b60b270b3db617811e593db5d5920ed98e67ce49 (diff) |
drbd: 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>
Signed-off-by: Guobin Huang <huangguobin4@huawei.com>
Link: https://lore.kernel.org/r/1617710988-49205-1-git-send-email-huangguobin4@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions