]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: Use DEFINE_SPINLOCK() for spinlock
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 29 Oct 2016 16:19:33 +0000 (16:19 +0000)
committerDoug Ledford <dledford@redhat.com>
Mon, 12 Dec 2016 21:31:45 +0000 (16:31 -0500)
commitd270cb04bde0b2f36cf13aa5afe0e4e252ee7e46
tree7e6596290663334bf3a0639a749e7cf60d452b3f
parent5977f4d9c4cde217005f44935be8d3f2d4c70d7e
IB/rxe: Use DEFINE_SPINLOCK() for spinlock

spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Leon Romanosky <leonro@mellanox.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_net.c