From 3a11fc80b654ec38dcea7f041fc41009486c8e4e Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 8 Jul 2020 00:03:54 +0200 Subject: src/lib/jpeg.c: Drop dead code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This code is not even being build-tested. Drop it before it grows moss. Change-Id: I379166c330d91c41846ba6562207fe5ad660040d Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43247 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/lib/jpeg.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/lib') diff --git a/src/lib/jpeg.c b/src/lib/jpeg.c index 212d2026ea..b3d4c89c53 100644 --- a/src/lib/jpeg.c +++ b/src/lib/jpeg.c @@ -355,13 +355,6 @@ int jpeg_decode(unsigned char *buf, unsigned char *pic, initcol(decdata->dquant); setinput(&glob_in, datap); -#if 0 - /* landing zone */ - img[len] = 0; - img[len + 1] = 0xff; - img[len + 2] = M_EOF; -#endif - dec_initscans(); dscans[0].next = 6 - 4; -- cgit v1.2.3