diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-06-11 10:18:17 +0530 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2015-06-15 15:45:18 -0700 |
commit | 2587dc65e1b70617a1a369b26eb824ab1af1b9df (patch) | |
tree | 0030d9f7f287ab3fa5239f97e040f7f618fe7f46 /fs/fcntl.c | |
parent | 511beeb5880eb1cf71ede7ce0f5ab4b34c1dd986 (diff) | |
download | linux-2587dc65e1b70617a1a369b26eb824ab1af1b9df.tar.bz2 |
ia64: Use setup_timer
Use the timer API function setup_timer instead of structure field
assignments to initialize a timer.
A simplified version of the Coccinelle semantic patch that performs
this transformation is as follows:
@change@
expression e1, e2, a;
@@
-init_timer(&e1);
+setup_timer(&e1, a, 0UL);
... when != a = e2
-e1.function = a;
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions