flashrom.c: Drop retry logic for failed erase/write

Now that we check first if an erase function should work with the
given programmer, we can drop the retry logic. This also simplifies
surrounding return codes a little.

Change-Id: I6db645dd3496f7c7f97c51aa5e8e088119012261
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72547
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
1 file changed