Skip to content

Commit

Permalink
fm: remove unused variables
Browse files Browse the repository at this point in the history
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes openzfs#12917
  • Loading branch information
nabijaczleweli authored and nicman23 committed Aug 22, 2022
1 parent 6e32239 commit 96e68ce
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions module/zfs/zfs_fm.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,9 +825,6 @@ annotate_ecksum(nvlist_t *ereport, zio_bad_cksum_t *info,
const uint64_t *good;
const uint64_t *bad;

uint64_t allset = 0;
uint64_t allcleared = 0;

size_t nui64s = size / sizeof (uint64_t);

size_t inline_size;
Expand Down Expand Up @@ -929,9 +926,6 @@ annotate_ecksum(nvlist_t *ereport, zio_bad_cksum_t *info,
// bits set in good, but not in bad
cleared = (good[idx] & (~bad[idx]));

allset |= set;
allcleared |= cleared;

if (!no_inline) {
ASSERT3U(offset, <, inline_size);
eip->zei_bits_set[offset] = set;
Expand Down

0 comments on commit 96e68ce

Please sign in to comment.