We can remove the return_error label, as there is no direct jump to it in the code.
Thanks, -- Mikhail Karpov
From 6b76a0e3e40f4da6743e06d895dea05c60827e0a Mon Sep 17 00:00:00 2001 From: Mikhail Karpov <[email protected]> Date: Mon, 23 Nov 2026 10:52:29 +0700 Subject: [PATCH 2/2] Remove an unused label from libdiskfs/dir-unlink.c --- libdiskfs/dir-unlink.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c index 2591219..ddf4c44 100644 --- a/libdiskfs/dir-unlink.c +++ b/libdiskfs/dir-unlink.c @@ -102,7 +102,6 @@ diskfs_S_dir_unlink (struct protid *dircred, diskfs_nput (np); } - return_error: pthread_mutex_unlock (&dnp->lock); diskfs_journal_stop_transaction (txn); return err; -- 2.43.0
