diff --git a/usr.bin/mkimg/scheme.c b/usr.bin/mkimg/scheme.c index ff5e2014a7e5..5c6308fde9df 100644 --- a/usr.bin/mkimg/scheme.c +++ b/usr.bin/mkimg/scheme.c @@ -180,7 +180,6 @@ scheme_write(lba_t end) { int error; - end = image_get_size(); error = scheme->write(end, bootcode); return (error); }