question about clk_hw_register_fixed_factor

From: Julia Lawall
Date: Tue Sep 20 2016 - 02:15:54 EST


The function clk_hw_register_fixed_factor from
drivers/clk/clk-fixed-factor.c contains:

struct clk_init_data init;
fix->hw.init = &init;
hw = &fix->hw;
return hw;

It looks like hw would then contain a dangling pointer, to init. Should
this be nulled out, or does it not matter because it is certain that no
one will look at it anyway? Or did I miss a null assignment elsewhere?