aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>2016-02-22 13:29:20 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-11 22:09:09 -0800
commite1af35bc7942483294e7f3cec818b64a66726853 (patch)
tree68737734f160ab513ce2a617ea212210abaf073f /tools/perf/scripts/python/export-to-postgresql.py
parentstaging: lustre: lnet: o2iblnd: Use list_for_each_entry_safe (diff)
downloadwireguard-linux-e1af35bc7942483294e7f3cec818b64a66726853.tar.xz
wireguard-linux-e1af35bc7942483294e7f3cec818b64a66726853.zip
staging: rdma: hfi1: Use setup_timer
The function setup_timer combines the initialization of a timer with the initialization of the timer's function and data fields. The multiline code for timer initialization is now replaced with function setup_timer. This was done with Coccinelle. @@ expression e1, e2, e3; type T; @@ - init_timer(&e1); ... ( - e1.function = e2; ... - e1.data = (T)e3; + setup_timer(&e1, e2, (T)e3); | - e1.data = (T)e3; ... - e1.function = e2; + setup_timer(&e1, e2, (T)e3); | - e1.function = e2; + setup_timer(&e1, e2, 0); ) Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions