-
由 Arnd Bergmann 提交于
When -Woverride-init is enabled, gcc notices that the .attr field is initialized twice: drivers/cpufreq/apple-soc-cpufreq.c:331:27: error: initialized field overwritten [-Werror=override-init] 331 | .attr = apple_soc_cpufreq_hw_attr, | ^~~~~~~~~~~~~~~~~~~~~~~~~ Remove the first one, since this is not actually used. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Reviewed-by: NEric Curtin <ecurtin@redhat.com> Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>83749a2e