Re: apm.c: get rid of unused variables

2007-03-25 Thread Andrew Morton
On Sun, 25 Mar 2007 13:07:41 -0400 "Parag Warudkar" <[EMAIL PROTECTED]> wrote: > Separate Kconfig patch below and also attached. Please avoid sending two copies of a patch in the same email like this. Because the result applies happily with `patch --dry-run' then makes a mess when you try to

Re: apm.c: get rid of unused variables

2007-03-25 Thread Parag Warudkar
On 3/25/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: On Sun, Mar 25, 2007 at 12:06:19PM -0400, Parag Warudkar wrote: You could also remove the APM_RTC_IS_GMT config option. Yep, that isn't used anymore. Separate Kconfig patch below and also attached. Parag Signed-off-by: Parag Warudkar

Re: apm.c: get rid of unused variables

2007-03-25 Thread Adrian Bunk
On Sun, Mar 25, 2007 at 12:06:19PM -0400, Parag Warudkar wrote: > > The patch below (against latest git) gets rid of following unused > variables - clock_cmos_diff and got_clock_diff. > > 2 less compiler warnings. > > Compile tested on i386. > > Signed-off-by: Parag Warudkar <[EMAIL

apm.c: get rid of unused variables

2007-03-25 Thread Parag Warudkar
The patch below (against latest git) gets rid of following unused variables - clock_cmos_diff and got_clock_diff. 2 less compiler warnings. Compile tested on i386. Signed-off-by: Parag Warudkar <[EMAIL PROTECTED]> --- linux-2.6/arch/i386/kernel/apm.c2007-03-24 21:43:35.0 -0400

apm.c: get rid of unused variables

2007-03-25 Thread Parag Warudkar
The patch below (against latest git) gets rid of following unused variables - clock_cmos_diff and got_clock_diff. 2 less compiler warnings. Compile tested on i386. Signed-off-by: Parag Warudkar [EMAIL PROTECTED] --- linux-2.6/arch/i386/kernel/apm.c2007-03-24 21:43:35.0 -0400

Re: apm.c: get rid of unused variables

2007-03-25 Thread Adrian Bunk
On Sun, Mar 25, 2007 at 12:06:19PM -0400, Parag Warudkar wrote: The patch below (against latest git) gets rid of following unused variables - clock_cmos_diff and got_clock_diff. 2 less compiler warnings. Compile tested on i386. Signed-off-by: Parag Warudkar [EMAIL PROTECTED] ---

Re: apm.c: get rid of unused variables

2007-03-25 Thread Parag Warudkar
On 3/25/07, Adrian Bunk [EMAIL PROTECTED] wrote: On Sun, Mar 25, 2007 at 12:06:19PM -0400, Parag Warudkar wrote: You could also remove the APM_RTC_IS_GMT config option. Yep, that isn't used anymore. Separate Kconfig patch below and also attached. Parag Signed-off-by: Parag Warudkar [EMAIL

Re: apm.c: get rid of unused variables

2007-03-25 Thread Andrew Morton
On Sun, 25 Mar 2007 13:07:41 -0400 Parag Warudkar [EMAIL PROTECTED] wrote: Separate Kconfig patch below and also attached. Please avoid sending two copies of a patch in the same email like this. Because the result applies happily with `patch --dry-run' then makes a mess when you try to apply