summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSumit Gupta <sumitg@nvidia.com>2026-05-27 19:31:27 +0530
committerKrzysztof Kozlowski <krzk@kernel.org>2026-06-09 17:00:30 +0200
commitb97f7dceb8adb2b05d556469afc6fb54947ef61c (patch)
tree25582b1055a001bc0103a52f1622de0469e9f29c /scripts
parente23d87a69e827b60fb985236a0984bacb3b68a19 (diff)
memory: tegra234: drop dead NULL check in tegra234_mc_icc_aggregate()
In tegra234_mc_icc_aggregate(), the 'if (mc)' check inside the CPU-cluster branch is always true. 'mc' was already dereferenced via 'mc->bwmgr_mrq_supported' a few lines above, so if it were NULL the function would have faulted there. Drop the redundant check. Reported-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Sumit Gupta <sumitg@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20260527140127.49172-4-sumitg@nvidia.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions