[PATCH] fix arch/ppc64/kernel/rtc.c warnings
Joel Schopp
jschopp at austin.ibm.com
Wed Sep 21 06:34:51 EST 2005
> If CONFIG_PROC_FS is not asserted, the compiler emits:
>
> arch/ppc64/kernel/rtc.c:257: warning: `rtc_read_proc' defined but not used
>
> Here is a patch to fix that. It can provide a decent space savings:
>
> text data bss dec hex filename
> - 2956 728 0 3684 e64 arch/ppc64/kernel/rtc.o
> + 2500 664 0 3164 c5c arch/ppc64/kernel/rtc.o
>
> Signed-off-by: Amos Waterland <apw at us.ibm.com>
>
Looks good, let's merge it.
Acked-by: Joel Schopp <jschopp at austin.ibm.com>
More information about the Linuxppc64-dev
mailing list