diff --git a/src/flash/flash.c b/src/flash/flash.c index d5a9210ca..64269c2df 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) {