8000 libmount: (subdir) remove unused code · util-linux/util-linux@cfb8058 · GitHub
[go: up one dir, main page]

Skip to content

Commit cfb8058

Browse files
committed
libmount: (subdir) remove unused code
The optlist already handles quoted values, so there's no need to do it in the callers. Signed-off-by: Karel Zak <kzak@redhat.com> (cherry picked from commit 5462fa3)
1 parent 10cfa4f commit cfb8058

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libmount/src/hook_subdir.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,6 @@ static int is_subdir_required(struct libmnt_context *cxt, int *rc, char **subdir
329329

330330
dir = mnt_opt_get_value(opt);
331331

332-
if (dir && *dir == '"')
333-
dir++;
334-
335332
if (!dir || !*dir) {
336333
DBG(HOOK, ul_debug("failed to parse X-mount.subdir '%s'", dir));
337334
*rc = -MNT_ERR_MOUNTOPT;

0 commit comments

Comments
 (0)
0