]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
return GRUB_ERR_NONE instead of setting grub_errno
authorColin Watson <cjwatson@ubuntu.com>
Thu, 23 Dec 2010 12:19:55 +0000 (12:19 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Thu, 23 Dec 2010 12:19:55 +0000 (12:19 +0000)
grub-core/term/gfxterm.c

index 09363918ab39706499d8c7c8c40db3cbc27b5cc6..8a75df93c871450610e87845dbdd2bd43ba9ee50 100644 (file)
@@ -1235,9 +1235,7 @@ grub_gfxterm_background_color_cmd (grub_command_t cmd __attribute__ ((unused)),
   /* Mark whole screen as dirty.  */
   dirty_region_add (0, 0, window.width, window.height);
 
-  /* All was ok.  */
-  grub_errno = GRUB_ERR_NONE;
-  return grub_errno;
+  return GRUB_ERR_NONE;
 }
 
 static struct grub_term_output grub_video_term =