OSDN Git Service

x86/rtc: Remove duplicate const specifier
authorColin King <colin.king@canonical.com>
Wed, 14 Jan 2015 14:07:55 +0000 (14:07 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 Jan 2015 09:35:51 +0000 (10:35 +0100)
commitd505ad1d66c9cd31db5ab0d2c7bcb2a47e5bb29e
tree8ba528eb524dc9830e3d8ccc31b03d9714d5a652
parent2372673c64c02fd7663fc365964d1a18582469a0
x86/rtc: Remove duplicate const specifier

Building with clang:

  CC      arch/x86/kernel/rtc.o
arch/x86/kernel/rtc.c:173:29: warning: duplicate 'const' declaration
  specifier [-Wduplicate-decl-specifier]
        static const char * const  const ids[] __initconst =

Remove the duplicate const, it is not needed and causes a warning.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: http://lkml.kernel.org/r/1421244475-313-1-git-send-email-colin.king@canonical.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/rtc.c