]> git.ipfire.org Git - thirdparty/linux.git/commit
ecryptfs: remove redundant variable found_auth_tok
authorAlexey Velichayshiy <a.velichayshiy@ispras.ru>
Sun, 12 Apr 2026 13:50:08 +0000 (16:50 +0300)
committerTyler Hicks <code@tyhicks.com>
Mon, 11 May 2026 14:53:14 +0000 (09:53 -0500)
commit4d97a37e2cedb008eb39354b2a4e2af9ae8bdbe7
tree1c37379371655cc925da74d392aa4fe26f285d97
parent5d6919055dec134de3c40167a490f33c74c12581
ecryptfs: remove redundant variable found_auth_tok

The found_auth_tok variable is no longer needed, as the fact of finding
a token is determined directly by jumping to the found_matching_auth_tok
label inside the loop.

Remove found_auth_tok, simplifying the function logic.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Alexey Velichayshiy <a.velichayshiy@ispras.ru>
[tyhicks: Unsplit log message string]
Signed-off-by: Tyler Hicks <code@tyhicks.com>
fs/ecryptfs/keystore.c