Browse Source

Refactoring: coreid is not used, remove it

Conflicts:
	driver-knc.c
Vitalii Demianets 11 years ago
parent
commit
b32bae9632
1 changed files with 0 additions and 3 deletions
  1. 0 3
      driver-kncasic.c

+ 0 - 3
driver-kncasic.c

@@ -54,7 +54,6 @@ struct knc_die;
 struct knc_core_state {
 	int generation;
 	int core;
-	int coreid;
 	struct knc_die *die;
 	struct {
 		int slot;
@@ -338,8 +337,6 @@ static bool knc_detect_one(void *ctx)
 			}
 		}
 	}
-	for (core = 0; core < cores; core++)
-		knc->core[core].coreid = core;
 	knc->dies = dies;
 	knc->cores = cores;
 	knc->startup = 2;