summaryrefslogtreecommitdiff
path: root/drivers/sh/maple
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2023-01-24 18:40:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-31 18:02:02 +0300
commit921e672dee91af86f8f9e44a067c735ebac0744b (patch)
tree8cf1c354da986528b123c02bcc718dae8ea8d895 /drivers/sh/maple
parentd931b83e62b1dd352fc326c0b1cf3be3ef19e113 (diff)
downloadlinux-921e672dee91af86f8f9e44a067c735ebac0744b.tar.xz
cacheinfo: Remove unused check in init_cache_level()
commit e75d18cecbb3 ("arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level") checks the fw_level value in init_cache_level() in case the value is negative. Remove this check as the error code is not returned through fw_level anymore, and reset fw_level if acpi_get_cache_info() failed. This allows to try fetching the cache information from clidr_el1. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Link: https://lore.kernel.org/r/20230124154053.355376-4-pierre.gondois@arm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sh/maple')
0 files changed, 0 insertions, 0 deletions