summaryrefslogtreecommitdiffstats
path: root/spi25.c
diff options
context:
space:
mode:
Diffstat (limited to 'spi25.c')
-rw-r--r--spi25.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/spi25.c b/spi25.c
index 0ba1994..d3680fb 100644
--- a/spi25.c
+++ b/spi25.c
@@ -267,10 +267,8 @@ int probe_spi_res1(struct flashchip *flash)
msg_cdbg("%s: id 0x%x\n", __func__, id2);
- if (id2 != flash->model_id) {
- msg_cdbg("\n");
+ if (id2 != flash->model_id)
return 0;
- }
/* Print the status register to tell the
* user about possible write protection.
OpenPOWER on IntegriCloud