.. | .. |
---|
47 | 47 | ****************************************************************/ |
---|
48 | 48 | #include "bitstream.h" |
---|
49 | 49 | #include "fse.h" |
---|
| 50 | +#include "zstd_internal.h" |
---|
50 | 51 | #include <linux/compiler.h> |
---|
51 | 52 | #include <linux/kernel.h> |
---|
52 | 53 | #include <linux/string.h> /* memcpy, memset */ |
---|
.. | .. |
---|
59 | 60 | { \ |
---|
60 | 61 | enum { FSE_static_assert = 1 / (int)(!!(c)) }; \ |
---|
61 | 62 | } /* 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 | | - } |
---|
70 | 63 | |
---|
71 | 64 | /* ************************************************************** |
---|
72 | 65 | * Templates |
---|