From: Lasse Collin Date: Mon, 12 Feb 2024 15:09:10 +0000 (+0200) Subject: liblzma: LZ decoder: Remove a useless unlikely(). X-Git-Tag: v5.5.2beta~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c252e3ed086c6b72590b2531586c42596d4a9d9;p=thirdparty%2Fxz.git liblzma: LZ decoder: Remove a useless unlikely(). --- diff --git a/src/liblzma/lz/lz_decoder.h b/src/liblzma/lz/lz_decoder.h index da273480..fbbe9a38 100644 --- a/src/liblzma/lz/lz_decoder.h +++ b/src/liblzma/lz/lz_decoder.h @@ -187,7 +187,7 @@ dict_repeat(lzma_dict *dict, uint32_t distance, uint32_t *len) if (!dict->has_wrapped) dict->full = dict->pos - 2 * LZ_DICT_REPEAT_MAX; - return unlikely(*len != 0); + return *len != 0; }