On Tue, Sep 22, 2020 at 12:16:41PM -0700, Stephen Boyd wrote: > 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]> > --- > drivers/clk/tegra/clk-tegra210-emc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <[email protected]>
signature.asc
Description: PGP signature

