aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2020-05-14 12:10:29 -0700
committerGitHub <[email protected]>2020-05-14 12:10:29 -0700
commit8b240f14f93822129ab9fb0674fc27f6353b0a2d (patch)
treeb1e5b36fd26ff0b2e1e571d239a7c2a33ce421fe /include/sys
parentc87f9586687d53bc7c3f2e8887841267a3960269 (diff)
remove unneeded member drc_err of dmu_recv_cookie_t
The member drc_err of dmu_recv_cookie_t is used only locally in receive_read, so we can replace it with a local variable. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matthew Ahrens <[email protected]> Closes #10319
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/dmu_recv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sys/dmu_recv.h b/include/sys/dmu_recv.h
index c0a562115..ed041ba70 100644
--- a/include/sys/dmu_recv.h
+++ b/include/sys/dmu_recv.h
@@ -73,7 +73,6 @@ typedef struct dmu_recv_cookie {
struct receive_record_arg *drc_next_rrd;
zio_cksum_t drc_cksum;
zio_cksum_t drc_prev_cksum;
- int drc_err;
/* Sorted list of objects not to issue prefetches for. */
objlist_t *drc_ignore_objlist;
} dmu_recv_cookie_t;