diff options
author | Stephen Boyd <[email protected]> | 2020-09-22 12:16:41 -0700 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-09-23 16:59:28 -0700 |
commit | f102ed0686b16a91473ad8ca4af8159b2d6bcb0a (patch) | |
tree | b71f780befdd25d18f7323926089dca013690b01 /scripts/gdb/linux | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
clk: tegra: Drop !provider check in tegra210_clk_emc_set_rate()
The provider variable is already dereferenced earlier in this function.
Drop the check for NULL as it is impossible.
Found with smatch
drivers/clk/tegra/clk-tegra210-emc.c:131 tegra210_clk_emc_set_rate() warn: variable dereferenced before check 'provider' (see line 124)
Cc: Joseph Lo <[email protected]>
Cc: Thierry Reding <[email protected]>
Fixes: 0ac65fc946d3 ("clk: tegra: Implement Tegra210 EMC clock")
Signed-off-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions