ipa-firmware: Remove dummy check...
We have derefenced that way before and would have crashed already.
This commit is contained in:
parent
12c446c81b
commit
50a33307c7
|
@ -63,9 +63,6 @@ int ipaccess_analyze_file(int fd, const unsigned int st_size, const unsigned int
|
|||
}
|
||||
|
||||
|
||||
if (!firmware_header)
|
||||
return -1;
|
||||
|
||||
if (ntohl(firmware_header->file_length) != st_size) {
|
||||
fprintf(stderr, "The filesize and the header do not match.\n");
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue