From: Erwan Velu Date: Tue, 3 Oct 2017 09:26:44 +0000 (+0200) Subject: oslib/libmtd: Removing useless err assigment X-Git-Tag: fio-3.2~68 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=144f470a09ccd544c24abbcdf940ad2f2b55eb82;p=fio.git oslib/libmtd: Removing useless err assigment At this point, setting up err to 0 is useless since it is never read again. Signed-off-by: Jens Axboe --- diff --git a/oslib/libmtd.c b/oslib/libmtd.c index 24e9db9c..5d18871b 100644 --- a/oslib/libmtd.c +++ b/oslib/libmtd.c @@ -1002,7 +1002,6 @@ int mtd_torture(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb) } } - err = 0; normsg("PEB %d passed torture test, do not mark it a bad", eb); out: