From 3b3f36256c94c31125e31922eb064ed0ed1b95e5 Mon Sep 17 00:00:00 2001 From: d00f <8052722+DrDoof@users.noreply.github.com> Date: Tue, 15 Sep 2026 15:28:36 +0200 Subject: [PATCH] flash: drop the unused status variable from flash_read_bulk() Since #427 the busy wait calls flash_read_status() directly, so the local it used to go through is no longer read anywhere. --- rtl837x_flash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/rtl837x_flash.c b/rtl837x_flash.c index 3805d730..2ec5bc3f 100644 --- a/rtl837x_flash.c +++ b/rtl837x_flash.c @@ -221,8 +221,6 @@ void flash_read_jedecid(void) */ void flash_read_bulk(__xdata uint8_t *dst) { - short status; - if (!flash_region.len) return;