zfs: Appease set by unused warnings for spl_fstrans_*mark stubs.

Use a void cast to mark the cookie value as used in spl_fstrans_unmark.

Reported by:	GCC
Differential Revision:	https://reviews.freebsd.org/D39357
This commit is contained in:
John Baldwin 2023-04-10 10:36:14 -07:00
parent 5328efb3d0
commit 8e9db62e74

View File

@ -78,7 +78,7 @@ extern int hz;
extern int tick;
typedef int fstrans_cookie_t;
#define spl_fstrans_mark() (0)
#define spl_fstrans_unmark(x) (x = 0)
#define spl_fstrans_unmark(x) ((void)x)
#define signal_pending(x) SIGPENDING(x)
#define current curthread
#define thread_join(x)