Files
mirror_zfs/include/os/freebsd/spl/sys
Dimitry Andric fd2cae969f Fix gcc unused value warning in FreeBSD simd.h
The macros `simd_stat_init()` and `simd_stat_fini()` in FreeBSD's
`simd.h` are defined as zero, but they are actually only used as
statements. Replace the definitions with `do {} while (0)` instead, to
avoid gcc `-Wunused-value` warnings.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Toomas Soome <tsoome@me.com>
Signed-off-by: Dimitry Andric <dimitry@andric.com>
Closes #16693
2024-11-01 09:48:51 -07:00
..
2020-04-14 11:36:28 -07:00
2020-07-29 16:35:33 -07:00
2020-04-14 11:36:28 -07:00
2022-11-07 15:55:37 -08:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2024-09-14 13:47:59 -07:00
2024-09-14 13:47:59 -07:00
2022-03-18 06:47:57 -06:00
2024-05-29 10:49:11 -07:00
2020-04-14 11:36:28 -07:00
2022-05-13 10:15:31 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2023-11-30 10:36:33 -08:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2024-09-14 13:47:59 -07:00
2020-04-14 11:36:28 -07:00
2022-09-20 14:50:16 -07:00
2021-05-27 14:27:29 -06:00
2020-08-31 19:43:08 -07:00