From: Anoop C S Date: Mon, 24 Feb 2025 06:39:06 +0000 (+0530) Subject: vfs_ceph_new: Remove unused code in cephmount_mount_fs() X-Git-Tag: tevent-0.17.0~583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee1c3e1db9a2d12ba6d9dd24faccf0020b1daf0d;p=thirdparty%2Fsamba.git 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 --- 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,