From: H. Peter Anvin Date: Wed, 6 Sep 2006 00:07:09 +0000 (-0700) Subject: No need to bzero .bss memory X-Git-Tag: syslinux-3.30-pre4~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=741f492bfe7c9846d58c4f674d9d11ca0a18acf6;p=platform%2Fupstream%2Fsyslinux.git No need to bzero .bss memory --- diff --git a/com32/lib/sys/vesa/background.c b/com32/lib/sys/vesa/background.c index 64a4604..bfdc9f4 100644 --- a/com32/lib/sys/vesa/background.c +++ b/com32/lib/sys/vesa/background.c @@ -240,7 +240,7 @@ int vesacon_load_background(const char *filename) int __vesacon_init_background(void) { - memset(__vesacon_background, 0, sizeof __vesacon_background); + /* The BSS clearing has already cleared __vesacon_background */ /* The VESA BIOS has already cleared the screen */ return 0;