intel-lpmd/22.patch
Ali Erdinc Koroglu f7ba9ee287 Update to 0.0.3
2024-02-09 17:26:30 +02:00

33 lines
869 B
Diff

From 3717c7186895951f58b429d67b954e23a1986b05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ali=20Erdin=C3=A7=20K=C3=B6ro=C4=9Flu?=
<ali.erdinc.koroglu@intel.com>
Date: Fri, 9 Feb 2024 17:17:09 +0200
Subject: [PATCH] Update lpmd_cpu.c
Werror unused-variable fixes
---
src/lpmd_cpu.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/lpmd_cpu.c b/src/lpmd_cpu.c
index f4dec42..bddd3a7 100644
--- a/src/lpmd_cpu.c
+++ b/src/lpmd_cpu.c
@@ -804,7 +804,7 @@ static int detect_lpm_cpus_cmd(char *cmd)
*/
static int is_cpu_atom(int cpu)
{
- unsigned int eax, ebx, ecx, edx, subleaf;
+ unsigned int eax, ebx, ecx, edx;
unsigned int type;
if (cpu_migrate(cpu) < 0) {
@@ -906,7 +906,6 @@ static int detect_cpu_l3(int cpu)
*/
static int detect_lpm_cpus_l3(void)
{
- char path[MAX_STR_LENGTH];
int i;
for (i = 0; i < topo_max_cpus; i++) {