ipa-firmware: Remove dummy check...

We have derefenced that way before and would have crashed already.
This commit is contained in:
Holger Hans Peter Freyther 2010-03-22 09:28:50 +01:00
parent 12c446c81b
commit 50a33307c7
1 changed files with 0 additions and 3 deletions

View File

@ -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;