Re: [PATCH] clk: remove unneeded dead-store initialization

2020-11-14 Thread Stephen Boyd
Quoting Lukas Bulwahn (2020-11-06 01:48:20) > make clang-analyzer on x86_64 defconfig caught my attention with: > > drivers/clk/clk.c:423:19: > warning: Value stored to 'parent' during its initialization is never read > [clang-analyzer-deadcode.DeadStores] > struct clk_core *parent

Re: [PATCH] clk: remove unneeded dead-store initialization

2020-11-06 Thread Nathan Chancellor
On Fri, Nov 06, 2020 at 10:48:20AM +0100, Lukas Bulwahn wrote: > make clang-analyzer on x86_64 defconfig caught my attention with: > > drivers/clk/clk.c:423:19: > warning: Value stored to 'parent' during its initialization is never read > [clang-analyzer-deadcode.DeadStores] > stru

[PATCH] clk: remove unneeded dead-store initialization

2020-11-06 Thread Lukas Bulwahn
make clang-analyzer on x86_64 defconfig caught my attention with: drivers/clk/clk.c:423:19: warning: Value stored to 'parent' during its initialization is never read [clang-analyzer-deadcode.DeadStores] struct clk_core *parent = ERR_PTR(-ENOENT); ^ Commi