Files
mirror_zfs/include/os/freebsd/spl/sys
Dimitry Andric 82ab837a0e 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-06 10:06:29 -08:00
..
2024-04-29 13:50:05 -07:00
2020-04-14 11:36:28 -07:00
2022-11-07 15:55:33 -08: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
2022-05-13 10:15:31 -07:00
2020-04-14 11:36:28 -07:00
2022-03-18 06:47:57 -06: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
2023-11-06 16:33:18 -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
2020-04-14 11:36:28 -07:00
2020-04-14 11:36:28 -07:00
2024-02-20 15:53:02 -08:00
2020-04-14 11:36:28 -07:00
2022-09-20 14:50:16 -07:00
2023-11-28 15:19:07 -08:00
2021-05-27 14:27:29 -06:00
2020-08-31 19:43:08 -07:00