summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-08 00:03:54 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-09 23:50:51 +0000
commit3a11fc80b654ec38dcea7f041fc41009486c8e4e (patch)
tree353df71d894758c01351e290c9ae1493d5df9312 /src
parent7d5e1129a1cec2faeb5ba06d2241aba65a536bcc (diff)
src/lib/jpeg.c: Drop dead code
This code is not even being build-tested. Drop it before it grows moss. Change-Id: I379166c330d91c41846ba6562207fe5ad660040d Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43247 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner
Diffstat (limited to 'src')
-rw-r--r--src/lib/jpeg.c7
1 files changed, 0 insertions, 7 deletions
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;