hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/lib/zstd/fse_decompress.c
....@@ -47,6 +47,7 @@
4747 ****************************************************************/
4848 #include "bitstream.h"
4949 #include "fse.h"
50
+#include "zstd_internal.h"
5051 #include <linux/compiler.h>
5152 #include <linux/kernel.h>
5253 #include <linux/string.h> /* memcpy, memset */
....@@ -59,14 +60,6 @@
5960 { \
6061 enum { FSE_static_assert = 1 / (int)(!!(c)) }; \
6162 } /* use only *after* variable declarations */
62
-
63
-/* check and forward error code */
64
-#define CHECK_F(f) \
65
- { \
66
- size_t const e = f; \
67
- if (FSE_isError(e)) \
68
- return e; \
69
- }
7063
7164 /* **************************************************************
7265 * Templates