1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +02:00

enum programmer: not needed anymore. Remove

Change-Id: I53cdb160616911a4beea6b5e8e56d582621818a4
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/55124
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:
Thomas Heijligen
2021-06-01 16:25:52 +02:00
committed by Nico Huber
parent 732aafdfec
commit 2376ccf00a
2 changed files with 0 additions and 128 deletions

View File

@ -1708,13 +1708,6 @@ int selfcheck(void)
unsigned int i;
int ret = 0;
/* Safety check. Instead of aborting after the first error, check
* if more errors exist.
*/
if (programmer_table_size != PROGRAMMER_INVALID) {
msg_gerr("Programmer table miscompilation!\n");
ret = 1;
}
for (i = 0; i < programmer_table_size; i++) {
const struct programmer_entry *const p = programmer_table[i];
if (p == NULL) {