commit | e1ac263fcb58a63aed0d9a75d22e045f88a53bb2 | [log] [tgz] |
---|---|---|
author | Himanshu Jha <himanshujha199640@gmail.com> | Sun Sep 24 17:21:07 2017 +0530 |
committer | Doug Ledford <dledford@redhat.com> | Fri Sep 29 11:18:56 2017 -0400 |
tree | 4e9c5a7b41a29c287f2c48fcb43630d643a28220 | |
parent | e538e0aca33f81fbfaa10a6954b40ff4360686dd [diff] |
IB/qib: Use setup_timer and mod_timer Use setup_timer and mod_timer API instead of structure assignments. This is done using Coccinelle and semantic patch used for this as follows: @@ expression x,y,z,a,b; @@ -init_timer (&x); +setup_timer (&x, y, z); +mod_timer (&a, b); -x.function = y; -x.data = z; -x.expires = b; -add_timer(&a); Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> Signed-off-by: Doug Ledford <dledford@redhat.com>