diff --git a/src/fu-rom.c b/src/fu-rom.c index 5a8134d21..5182b621c 100644 --- a/src/fu-rom.c +++ b/src/fu-rom.c @@ -356,8 +356,7 @@ fu_rom_pci_parse_data (FuRomPciHeader *hdr) guint8 *buffer; /* check valid */ - if (hdr == NULL || - hdr->cpi_ptr == 0x0000) { + if (hdr->cpi_ptr == 0x0000) { g_debug ("No PCI DATA @ 0x%04x", hdr->rom_offset); return FALSE; }