HomeFreeBSD

Remove unneeded checks for prelen.

Description

Remove unneeded checks for prelen.

In order to determine the type of a compressed file, we have to read
in the first four bytes which may also be important for decompression
purposes, to do that we would pass the buffer that we have already
read in, along with the size of it.

Rename header1 to fourbytes to make that explicit, and remove all
checks for prelen.

Reported by: cem
Reviewed by: cem
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D24034

Details

Provenance
delphijAuthored on
Reviewer
cem
Differential Revision
D24034: Remove unneeded checks for prelen.
Parents
rS358987: Add comment about how the deferred callback for AC_FOUND_DEVICE we
Branches
Unknown
Tags
Unknown