diff options
| author | Sumit Gupta <sumitg@nvidia.com> | 2026-05-27 17:01:27 +0300 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-06-09 18:00:30 +0300 |
| commit | b97f7dceb8adb2b05d556469afc6fb54947ef61c (patch) | |
| tree | 25582b1055a001bc0103a52f1622de0469e9f29c /include/uapi/linux | |
| parent | e23d87a69e827b60fb985236a0984bacb3b68a19 (diff) | |
| download | linux-b97f7dceb8adb2b05d556469afc6fb54947ef61c.tar.xz | |
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 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
