]> git.ipfire.org Git - thirdparty/grub.git/commit
video/efi_gop: Remove unnecessary return value of grub_video_gop_fill_mode_info()
authorDarren Kenny <darren.kenny@oracle.com>
Tue, 8 Dec 2020 21:14:31 +0000 (21:14 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 2 Mar 2021 14:54:17 +0000 (15:54 +0100)
commitfc5951d3b1616055ef81a019a5affc09d13344d0
tree174e198852d8ca08ddb5089a87413b95261ad7d4
parent1fc860bb76bb29945829a1e2fb37e57a7a1c24e8
video/efi_gop: Remove unnecessary return value of grub_video_gop_fill_mode_info()

The return value of grub_video_gop_fill_mode_info() is never able to be
anything other than GRUB_ERR_NONE. So, rather than continue to return
a value and checking it each time, it is more correct to redefine the
function to not return anything and remove checks of its return value
altogether.

Fixes: CID 96701
Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/video/efi_gop.c