Re: [PATCH] clk: tenstorrent: Assign .num before accessing .hws
From: Aamir Ahmed
Date: Wed Sep 09 2026 - 20:47:45 EST
On Tue, Sep 08, 2026 at 11:56:12AM +0200, Gustavo A. R. Silva wrote:
> Looks like variable num_clks can be removed entirely, and just do:
>
> clk_data->num = data->num;
Yes - it is only read once and data is const.
Thanks for reviewing, and thanks Anirudh for testing. For the redundant
variable, since this has a stable Cc, perhaps we can keep the diff
minimal here and I can send the cleanup as a follow-up once it lands?
Kind Regards
Aamir A.