git: 96b119340eec - main - stand: remove ZFS warning about computered but unused variable

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 01 May 2023 21:04:23 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=96b119340eec331bdbbbdea606dae64cd2dce774

commit 96b119340eec331bdbbbdea606dae64cd2dce774
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-05-01 15:45:41 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-05-01 21:02:54 +0000

    stand: remove ZFS warning about computered but unused variable
    
    Toss a __unused on the unexpected_errors variable. We compute it, but
    never use it.
    
    Sponsored by:           Netflix
---
 sys/cddl/boot/zfs/zfssubr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/cddl/boot/zfs/zfssubr.c b/sys/cddl/boot/zfs/zfssubr.c
index 1dcb0829680c..13edcc8ee747 100644
--- a/sys/cddl/boot/zfs/zfssubr.c
+++ b/sys/cddl/boot/zfs/zfssubr.c
@@ -1574,7 +1574,7 @@ vdev_raidz_read(vdev_t *vd, const blkptr_t *bp, void *data,
 	raidz_map_t *rm;
 	raidz_col_t *rc;
 	int c, error;
-	int unexpected_errors;
+	int unexpected_errors __unused;
 	int parity_errors;
 	int parity_untried;
 	int data_errors;