zfs/module/icp/algs
Richard Yao 3b2f9c1ec8 Cleanup: Use MIN() macro
The Linux 5.16.14 kernel's coccicheck caught this. The semantic
patch that caught it was:

./scripts/coccinelle/misc/minmax.cocci

There was a third opportunity to use `MIN()`, but that was in
`FSE_minTableLog()` in `module/zstd/lib/compress/fse_compress.c`.
Upstream zstd has yet to make this change and I did not want to change
header includes just for MIN, or do a one off, so I left it alone.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14372
2023-01-12 16:00:23 -08:00
..
aes Cleanup: Remove unnecessary explicit casts of pointers from allocators 2023-01-12 15:59:12 -08:00
blake3 Fix GCC 12 compilation errors 2022-11-30 13:45:53 -08:00
edonr Fix Clang 15 compilation errors 2022-11-30 13:46:26 -08:00
modes Cleanup: Use MIN() macro 2023-01-12 16:00:23 -08:00
sha2 Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
skein Fix Clang 15 compilation errors 2022-11-30 13:46:26 -08:00