diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-12-15 19:55:15 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-12-27 05:57:14 +0300 |
commit | 83749a2ee548f568ce2037749e19602fdc9f3ee3 (patch) | |
tree | b20fd4ad896f087f92aa183ac069fab2ba8d75da /mm/zbud.c | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) | |
download | linux-83749a2ee548f568ce2037749e19602fdc9f3ee3.tar.xz |
cpufreq: apple: remove duplicate intializer
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: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions