From ee1c3e1db9a2d12ba6d9dd24faccf0020b1daf0d Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Mon, 24 Feb 2025 12:09:06 +0530 Subject: [PATCH] vfs_ceph_new: Remove unused code in cephmount_mount_fs() BUG: https://bugzilla.samba.org/show_bug.cgi?id=15818 Signed-off-by: Anoop C S Reviewed-by: Guenther Deschner --- source3/modules/vfs_ceph_new.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source3/modules/vfs_ceph_new.c b/source3/modules/vfs_ceph_new.c index c3ca24e2fe1..de55449da24 100644 --- a/source3/modules/vfs_ceph_new.c +++ b/source3/modules/vfs_ceph_new.c @@ -274,7 +274,6 @@ static struct ceph_mount_info *cephmount_mount_fs( struct vfs_ceph_config *config) { int ret; - char buf[256]; struct ceph_mount_info *mnt = NULL; /* if config_file and/or user_id are NULL, ceph will use defaults */ @@ -294,12 +293,6 @@ static struct ceph_mount_info *cephmount_mount_fs( goto out; } - DBG_DEBUG("[CEPH] calling ceph_conf_get: option='%s'\n", "log_file"); - ret = config->ceph_conf_get_fn(mnt, "log_file", buf, sizeof(buf)); - if (ret < 0) { - goto out; - } - /* libcephfs disables POSIX ACL support by default, enable it... */ ret = cephmount_update_conf(config, mnt, -- 2.47.2