compression: Remove redundant nibble_index check
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 7 Mar 2022 07:28:05 +0000 (20:28 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 May 2022 02:22:35 +0000 (02:22 +0000)
commitb62fbc4a535a84167ee4ddff244e66536742a618
tree03a9695cd638b9a5f3f96ee80998a156647709fa
parent52982c01a596284b00cd9d0a4addcb6b73eed9cd
compression: Remove redundant nibble_index check

If nibble_index is non-zero, we have already written to it, and so don't
need to check again that it is in bounds.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/compression/lzxpress.c