[NET]: Convert init_timer into setup_timer
authorPavel Emelyanov <xemul@openvz.org>
Thu, 24 Jan 2008 05:20:07 +0000 (21:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:53:35 +0000 (14:53 -0800)
commitb24b8a247ff65c01b252025926fe564209fae4fc
tree8a9e0ea1e24b4733d8b9433d41877659505e9da4
parenta92aa318b4b369091fd80433c80e62838db8bc1c
[NET]: Convert init_timer into setup_timer

Many-many code in the kernel initialized the timer->function
and  timer->data together with calling init_timer(timer). There
is already a helper for this. Use it for networking code.

The patch is HUGE, but makes the code 130 lines shorter
(98 insertions(+), 228 deletions(-)).

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
47 files changed:
net/802/tr.c
net/appletalk/aarp.c
net/appletalk/ddp.c
net/atm/lec.c
net/ax25/af_ax25.c
net/bluetooth/hci_conn.c
net/bluetooth/hidp/core.c
net/bluetooth/l2cap.c
net/bluetooth/rfcomm/core.c
net/bluetooth/sco.c
net/core/flow.c
net/core/neighbour.c
net/dccp/ccids/ccid2.c
net/dccp/ccids/ccid3.c
net/dccp/timer.c
net/decnet/dn_route.c
net/econet/af_econet.c
net/ieee80211/ieee80211_module.c
net/ipv4/igmp.c
net/ipv4/inet_connection_sock.c
net/ipv4/inet_fragment.c
net/ipv4/ipmr.c
net/ipv4/ipvs/ip_vs_conn.c
net/ipv4/ipvs/ip_vs_est.c
net/ipv4/ipvs/ip_vs_lblc.c
net/ipv4/ipvs/ip_vs_lblcr.c
net/ipv4/route.c
net/ipv6/addrconf.c
net/ipv6/mcast.c
net/irda/af_irda.c
net/iucv/af_iucv.c
net/llc/llc_conn.c
net/llc/llc_station.c
net/mac80211/sta_info.c
net/netrom/nr_timer.c
net/rose/af_rose.c
net/sched/sch_generic.c
net/sched/sch_sfq.c
net/sctp/associola.c
net/sctp/transport.c
net/sunrpc/sched.c
net/sunrpc/xprt.c
net/tipc/core.h
net/x25/x25_link.c
net/x25/x25_timer.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c