Re: [PATCH] cpufreq: intel_pstate: Avoid initializing variables prematurely

From: Rafael J. Wysocki
Date: Mon May 22 2023 - 12:51:12 EST


On Sat, May 20, 2023 at 3:32 PM Fieah Lim <kweifat@xxxxxxxxx> wrote:
>
> all_cpu_data struct is pretty large,

all_cpu_data is not a structure, it is an array of pointers.

If you want to clean up the code, please make sure that your cleanups
really make sense.

Also please don't make unrelated changes in one patch, this doesn't help much.

Thanks!