diff options
| author | Himanshu Jha <himanshujha199640@gmail.com> | 2017-09-24 17:21:07 +0530 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-09-29 11:18:56 -0400 |
| commit | e1ac263fcb58a63aed0d9a75d22e045f88a53bb2 (patch) | |
| tree | 4e9c5a7b41a29c287f2c48fcb43630d643a28220 /tools/perf/scripts/python | |
| 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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
