OSDN Git Service

arm64: errata: Don't define type field twice for arm64_errata[] entries
authorWill Deacon <will.deacon@arm.com>
Fri, 6 Jul 2018 08:57:45 +0000 (09:57 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 6 Jul 2018 12:17:25 +0000 (13:17 +0100)
commit178909a669584b97e9154375df2126fd93b6306c
treece213849d15e4be17240d69065c8dcc6a0d777a5
parentec28bb9c9b0826d7bd36f44cccfa5295c291cadd
arm64: errata: Don't define type field twice for arm64_errata[] entries

The ERRATA_MIDR_REV_RANGE macro assigns ARM64_CPUCAP_LOCAL_CPU_ERRATUM
to the '.type' field of the 'struct arm64_cpu_capabilities', so there's
no need to assign it explicitly as well.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/cpu_errata.c