From: Darrick J. Wong Date: Thu, 7 May 2026 22:11:58 +0000 (-0700) Subject: xfs_scrub: remove dead code X-Git-Tag: v7.0.1~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=46efb75687bd1ad1b6848cece78c201b27e42d31;p=xfsprogs-dev.git xfs_scrub: remove dead code Nothing uses @mask anymore, so remove it. Signed-off-by: "Darrick J. Wong" Reviewed-by: Christoph Hellwig --- diff --git a/scrub/unicrash.c b/scrub/unicrash.c index 87c0a8f0..1a845d3e 100644 --- a/scrub/unicrash.c +++ b/scrub/unicrash.c @@ -499,7 +499,6 @@ name_entry_examine( { UCharIterator uiter; UChar32 uchr; - uint8_t mask = 0; unsigned int ret = 0; /* Don't allow the first codepoint to be a variation */ UBool was_variation = true; @@ -524,12 +523,6 @@ name_entry_examine( ret |= UNICRASH_CONTROL_CHAR; switch (u_charDirection(uchr)) { - case U_LEFT_TO_RIGHT: - mask |= 0x01; - break; - case U_RIGHT_TO_LEFT: - mask |= 0x02; - break; case U_RIGHT_TO_LEFT_OVERRIDE: ret |= UNICRASH_BIDI_OVERRIDE; break;