No need to bzero .bss memory
authorH. Peter Anvin <hpa@zytor.com>
Wed, 6 Sep 2006 00:07:09 +0000 (17:07 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 6 Sep 2006 00:07:09 +0000 (17:07 -0700)
com32/lib/sys/vesa/background.c

index 64a4604..bfdc9f4 100644 (file)
@@ -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;