]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: use setup_timer to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 7 Feb 2017 15:15:10 +0000 (15:15 +0000)
committerDoug Ledford <dledford@redhat.com>
Sun, 19 Feb 2017 14:18:31 +0000 (09:18 -0500)
commit6450885cc9914f55ecb5d0d092436d17497b71d4
treee9c34e08c84a4720205f924631ed551e65c608e7
parentd004d20674c2fc04b738cce033363ceebb528f29
IB/rxe: use setup_timer to simplify the code

Use setup_timer function instead of initializing timer with the function
and data fields.

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