The local variable "index" is written to, but is not read from
anywhere.  Remove it.
Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20250324142042.29010-7-darwi@linutronix.de
 
        for (f = 0; (int)f < range->nr; f++) {
                struct cpuid_func *func = &range->funcs[f];
-               u32 index = f;
-
-               if (range->is_ext)
-                       index += 0x80000000;
 
                /* Skip leaf without valid items */
                if (!func->nr)