-
- Downloads
[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>
Showing
- net/802/tr.c 1 addition, 3 deletionsnet/802/tr.c
- net/appletalk/aarp.c 1 addition, 3 deletionsnet/appletalk/aarp.c
- net/appletalk/ddp.c 2 additions, 3 deletionsnet/appletalk/ddp.c
- net/atm/lec.c 2 additions, 3 deletionsnet/atm/lec.c
- net/ax25/af_ax25.c 2 additions, 3 deletionsnet/ax25/af_ax25.c
- net/bluetooth/hci_conn.c 2 additions, 7 deletionsnet/bluetooth/hci_conn.c
- net/bluetooth/hidp/core.c 1 addition, 4 deletionsnet/bluetooth/hidp/core.c
- net/bluetooth/l2cap.c 2 additions, 11 deletionsnet/bluetooth/l2cap.c
- net/bluetooth/rfcomm/core.c 1 addition, 3 deletionsnet/bluetooth/rfcomm/core.c
- net/bluetooth/sco.c 1 addition, 8 deletionsnet/bluetooth/sco.c
- net/core/flow.c 1 addition, 2 deletionsnet/core/flow.c
- net/core/neighbour.c 3 additions, 9 deletionsnet/core/neighbour.c
- net/dccp/ccids/ccid2.c 2 additions, 4 deletionsnet/dccp/ccids/ccid2.c
- net/dccp/ccids/ccid3.c 2 additions, 5 deletionsnet/dccp/ccids/ccid3.c
- net/dccp/timer.c 2 additions, 3 deletionsnet/dccp/timer.c
- net/decnet/dn_route.c 1 addition, 2 deletionsnet/decnet/dn_route.c
- net/econet/af_econet.c 1 addition, 2 deletionsnet/econet/af_econet.c
- net/ieee80211/ieee80211_module.c 2 additions, 3 deletionsnet/ieee80211/ieee80211_module.c
- net/ipv4/igmp.c 5 additions, 9 deletionsnet/ipv4/igmp.c
- net/ipv4/inet_connection_sock.c 5 additions, 12 deletionsnet/ipv4/inet_connection_sock.c
Loading
Please register or sign in to comment