diff options
| author | Karel Zak <kzak@redhat.com> | 2025-04-09 11:32:08 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2025-04-09 11:34:00 +0200 |
| commit | 5462fa3435544344727b8644205ae427dfd5fcba (patch) | |
| tree | 96b95bc84a8ef804c4d82e33872b3d6e9d03b87a | |
| parent | 995a4e2341f699e9eb7f2e2c529e1c8802a61170 (diff) | |
| download | util-linux-5462fa3435544344727b8644205ae427dfd5fcba.tar.gz | |
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>
| -rw-r--r-- | libmount/src/hook_subdir.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libmount/src/hook_subdir.c b/libmount/src/hook_subdir.c index 5949af7d82..1e5d79958a 100644 --- a/libmount/src/hook_subdir.c +++ b/libmount/src/hook_subdir.c @@ -329,9 +329,6 @@ static int is_subdir_required(struct libmnt_context *cxt, int *rc, char **subdir dir = mnt_opt_get_value(opt); - if (dir && *dir == '"') - dir++; - if (!dir || !*dir) { DBG(HOOK, ul_debug("failed to parse X-mount.subdir '%s'", dir)); *rc = -MNT_ERR_MOUNTOPT; |
