diff options
| author | Liu Jian <liujian56@huawei.com> | 2021-03-26 20:31:38 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-26 15:25:44 -0700 |
| commit | a1281601f88e924a2e8c7572065d3e9fecf3c3fb (patch) | |
| tree | d6d2ed2707185366fa890804511d09585809aa0a /include/linux/timerqueue.h | |
| parent | c3c97fd0ca6a7c2d566b2092010ed9e7ffcd4bb1 (diff) | |
| download | cachepc-linux-a1281601f88e924a2e8c7572065d3e9fecf3c3fb.tar.gz cachepc-linux-a1281601f88e924a2e8c7572065d3e9fecf3c3fb.zip | |
farsync: 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: Liu Jian <liujian56@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
