fm: remove unused variables
Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12917
This commit is contained in:
parent
b8e1366ee6
commit
a175fe82e6
|
@ -825,9 +825,6 @@ annotate_ecksum(nvlist_t *ereport, zio_bad_cksum_t *info,
|
||||||
const uint64_t *good;
|
const uint64_t *good;
|
||||||
const uint64_t *bad;
|
const uint64_t *bad;
|
||||||
|
|
||||||
uint64_t allset = 0;
|
|
||||||
uint64_t allcleared = 0;
|
|
||||||
|
|
||||||
size_t nui64s = size / sizeof (uint64_t);
|
size_t nui64s = size / sizeof (uint64_t);
|
||||||
|
|
||||||
size_t inline_size;
|
size_t inline_size;
|
||||||
|
@ -929,9 +926,6 @@ annotate_ecksum(nvlist_t *ereport, zio_bad_cksum_t *info,
|
||||||
// bits set in good, but not in bad
|
// bits set in good, but not in bad
|
||||||
cleared = (good[idx] & (~bad[idx]));
|
cleared = (good[idx] & (~bad[idx]));
|
||||||
|
|
||||||
allset |= set;
|
|
||||||
allcleared |= cleared;
|
|
||||||
|
|
||||||
if (!no_inline) {
|
if (!no_inline) {
|
||||||
ASSERT3U(offset, <, inline_size);
|
ASSERT3U(offset, <, inline_size);
|
||||||
eip->zei_bits_set[offset] = set;
|
eip->zei_bits_set[offset] = set;
|
||||||
|
|
Loading…
Reference in New Issue