multiboot2: Remove useless, broken comparison

This commit is contained in:
mintsuki 2022-06-29 15:20:09 +02:00
parent a8ce9ef3ef
commit ef9ad8ec65

View File

@ -454,7 +454,7 @@ bool multiboot2_load(char *config, char* cmdline) {
term_deinit();
if (fbtag && fbtag->type == MULTIBOOT_FRAMEBUFFER_TYPE_RGB) {
if (fbtag) {
size_t req_width = fbtag->width;
size_t req_height = fbtag->height;
size_t req_bpp = fbtag->depth;