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)
commit8d8a47338089d96093fa5fb8a686d9faefce04a1
treee9c34e08c84a4720205f924631ed551e65c608e7
parent32f8e839edebe3310dd077439ce0e9a96e0c2352
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