From: Sumanth K <linuxuser1990@gmail.com>
To: fio@vger.kernel.org
Cc: Sumanth K <sumantk2@linux.vnet.ibm.com>
Subject: [PATCH] fio: Eliminate compilation warning in ppc
Date: Mon, 16 Jun 2014 11:08:16 +0530 [thread overview]
Message-ID: <1402897096-10997-1-git-send-email-linuxuser1990@gmail.com> (raw)
From: Sumanth K <sumantk2@linux.vnet.ibm.com>
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 <sumantk2@linux.vnet.ibm.com>
---
arch/arch-ppc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arch-ppc.h b/arch/arch-ppc.h
index 0f043bc..d4a080c 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;
--
1.8.3.1
next reply other threads:[~2014-06-16 5:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-16 5:38 Sumanth K [this message]
2014-06-16 19:36 ` [PATCH] fio: Eliminate compilation warning in ppc Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1402897096-10997-1-git-send-email-linuxuser1990@gmail.com \
--to=linuxuser1990@gmail.com \
--cc=fio@vger.kernel.org \
--cc=sumantk2@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.