summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/flash/flash.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c
index d5a9210c..64269c2d 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -157,11 +157,6 @@ static int jim_flash_banks(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
return JIM_ERR;
}
- if (!flash_banks)
- {
- return JIM_ERR;
- }
-
Jim_Obj *list=Jim_NewListObj(interp, NULL, 0);
for (p = flash_banks; p; p = p->next)
{