aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2021-03-17 21:57:09 -0700
committerGitHub <[email protected]>2021-03-17 21:57:09 -0700
commit46df6e98aaf324e7cbdf529f293a3c493645499e (patch)
tree846121b39e457b50eebdf6f0689ee4a55fabab09 /include/sys
parentec3e4c6784485beca965ae3ebdeea948dd4739f3 (diff)
Remove unused rr_code
The `rr_code` field in `raidz_row_t` is unused. This commit removes the field, as well as the code that's used to set it. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Ahrens <[email protected]> Closes #11736
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/vdev_raidz_impl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sys/vdev_raidz_impl.h b/include/sys/vdev_raidz_impl.h
index c869b8b4d..ada12c0a7 100644
--- a/include/sys/vdev_raidz_impl.h
+++ b/include/sys/vdev_raidz_impl.h
@@ -127,7 +127,6 @@ typedef struct raidz_row {
abd_t *rr_abd_copy; /* rm_asize-buffer of copied data */
abd_t *rr_abd_empty; /* dRAID empty sector buffer */
int rr_nempty; /* empty sectors included in parity */
- int rr_code; /* reconstruction code (unused) */
#ifdef ZFS_DEBUG
uint64_t rr_offset; /* Logical offset for *_io_verify() */
uint64_t rr_size; /* Physical size for *_io_verify() */