From: Sumanth K Date: Mon, 16 Jun 2014 05:38:16 +0000 (+0530) Subject: fio: Eliminate compilation warning in ppc X-Git-Tag: fio-2.1.11~62 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=1b4f8c7f78793428084688f27a412139b259972b;ds=inline fio: Eliminate compilation warning in ppc Eliminate compilation warning : 'atb_clocktest' defined but not used. Function is declared as static in header file. So compiler will know if they used or not. Just eliminate the warning by #if 0 /unless we do use it. Signed-off-by: Sumanth K Signed-off-by: Jens Axboe --- diff --git a/arch/arch-ppc.h b/arch/arch-ppc.h index 0f043bce..d4a080c4 100644 --- a/arch/arch-ppc.h +++ b/arch/arch-ppc.h @@ -82,6 +82,7 @@ static inline unsigned long long get_cpu_clock(void) return ret; } +#if 0 static void atb_child(void) { arch_flags |= ARCH_FLAG_1; @@ -106,6 +107,7 @@ static void atb_clocktest(void) arch_flags |= ARCH_FLAG_1; } } +#endif #define ARCH_HAVE_INIT extern int tsc_reliable;