From: H. Peter Anvin Date: Wed, 27 Feb 2008 20:48:04 +0000 (-0800) Subject: background.c: remove unused filesize() function X-Git-Tag: syslinux-3.70-pre1~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7897f4098ce5977fe5dffa0ee15bc842339567f;p=platform%2Fupstream%2Fsyslinux.git background.c: remove unused filesize() function Remove obsolete and now unused filesize() function. --- diff --git a/com32/lib/sys/vesa/background.c b/com32/lib/sys/vesa/background.c index f141a6a..557a65f 100644 --- a/com32/lib/sys/vesa/background.c +++ b/com32/lib/sys/vesa/background.c @@ -37,15 +37,6 @@ #include "vesa.h" #include "video.h" -static size_t filesize(FILE *fp) -{ - struct stat st; - if (fstat(fileno(fp), &st)) - return 0; - else - return st.st_size; -} - /*** FIX: This really should be alpha-blended with color index 0 ***/ /* For best performance, "start" should be a multiple of 4, to assure