summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2015-10-25 13:43:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-25 22:09:16 +0300
commit24523a94538ef500b867a2d4b2cb5bf72c8287a0 (patch)
tree55f5865242394c4fcb7a186ae4095330ae3a4a70 /include/uapi/linux
parent6f663d5de57ae65ae1e38cefdad3e109432c169e (diff)
downloadlinux-24523a94538ef500b867a2d4b2cb5bf72c8287a0.tar.xz
staging: rdma: hfi1: chip: Use setup_timer
Use the timer API function setup_timer instead of init_timer, removing the structure field assignments. <smpl> @timer@ expression e1,e2,e3,fn_ptr; @@ -init_timer(&e1); +setup_timer(&e1, fn_ptr, e2); ... when != fn_ptr = e3 -e1.function = fn_ptr; -e1.data = e2; </smpl> Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions