Re: [PATCH][NET] Convert init_timer into setup_timer

2007-11-13 Thread David Miller
From: "Arnaldo Carvalho de Melo" <[EMAIL PROTECTED]> Date: Tue, 13 Nov 2007 11:43:40 -0200 > Em Tue, Nov 13, 2007 at 05:34:21AM -0800, David Miller escreveu: > > From: Pavel Emelyanov <[EMAIL PROTECTED]> > > Date: Tue, 13 Nov 2007 16:10:03 +0300 > > > > > Many-many code in the kernel initialized

Re: [PATCH][NET] Convert init_timer into setup_timer

2007-11-13 Thread Pavel Emelyanov
Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 13, 2007 at 05:34:21AM -0800, David Miller escreveu: >> From: Pavel Emelyanov <[EMAIL PROTECTED]> >> Date: Tue, 13 Nov 2007 16:10:03 +0300 >> >>> Many-many code in the kernel initialized the timer->function >>> and timer->data together with calling in

Re: [PATCH][NET] Convert init_timer into setup_timer

2007-11-13 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 13, 2007 at 05:34:21AM -0800, David Miller escreveu: > From: Pavel Emelyanov <[EMAIL PROTECTED]> > Date: Tue, 13 Nov 2007 16:10:03 +0300 > > > Many-many code in the kernel initialized the timer->function > > and timer->data together with calling init_timer(timer). There > > is alrea

Re: [PATCH][NET] Convert init_timer into setup_timer

2007-11-13 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Tue, 13 Nov 2007 16:10:03 +0300 > 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

[PATCH][NET] Convert init_timer into setup_timer

2007-11-13 Thread Pavel Emelyanov
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: Pa