diff options
author | 2015-01-09 16:06:29 +0200 | |
---|---|---|
committer | 2015-01-09 10:05:47 -0800 | |
commit | fc8abe02e5616817735e8a8de2ab37f6ce5e4f46 (patch) | |
tree | 6e59185f36b0e20623bae2f8601c4ffb918288cb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xhci: remove unused parameter 'xhci' in function xhci_handshake(). (diff) | |
download | wireguard-linux-fc8abe02e5616817735e8a8de2ab37f6ce5e4f46.tar.xz wireguard-linux-fc8abe02e5616817735e8a8de2ab37f6ce5e4f46.zip |
xhci: Use setup_timer
Convert a call to init_timer and accompanying intializations of
the timer's data and function fields to a call to setup_timer.
A simplified version of the semantic match that fixes this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@@
expression t,f,d;
@@
-init_timer(&t);
+setup_timer(&t,f,d);
-t.data = d;
-t.function = f;
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.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