summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/flashrom.c b/flashrom.c
index 5483af374..51a6b6443 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -511,11 +511,6 @@ int verify_range(struct flashctx *flash, const uint8_t *cmpbuf, unsigned int sta
return -1;
}
- if (!lookup_read_func_ptr(flash->chip)) {
- msg_cerr("ERROR: flashrom has no read function for this flash chip.\n");
- return -1;
- }
-
uint8_t *readbuf = malloc(len);
if (!readbuf) {
msg_gerr("Could not allocate memory!\n");