Home
last modified time | relevance | path

Searched hist:d310124cd99df5e5011d79f36a6d16d3452de348 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/x86/
H A Dclk-cgu.cdiff d310124cd99df5e5011d79f36a6d16d3452de348 Thu Jul 16 01:30:32 CDT 2020 Rahul Tanwar <rahul.tanwar@linux.intel.com> clk: intel: Avoid unnecessary memset by improving code

memset can be avoided in a loop if the variables used are declared
inside the loop. Move such variables declaration inside the loop
to avoid memset.

Signed-off-by: Rahul Tanwar <rahul.tanwar@linux.intel.com>
Link: https://lore.kernel.org/r/26624b65d0e6b958c4765a406b9929d1a9ce1c2c.1594880946.git.rahul.tanwar@linux.intel.com
[sboyd@kernel.org: Drop NULL assignment that is overwritten]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>