diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c index 36e113e7802..c0debed1f7e 100644 --- a/source3/modules/vfs_xattr_tdb.c +++ b/source3/modules/vfs_xattr_tdb.c @@ -150,8 +150,6 @@ static int xattr_tdb_setxattr(struct vfs_handle_struct *handle, TALLOC_FREE(frame); return -1; }); - SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context, return -1); - ret = xattr_tdb_get_file_id(handle, path, &id); if (ret == -1) { TALLOC_FREE(frame); @@ -207,8 +205,6 @@ static ssize_t xattr_tdb_listxattr(struct vfs_handle_struct *handle, TALLOC_FREE(frame); return -1; }); - SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context, return -1); - ret = xattr_tdb_get_file_id(handle, path, &id); if (ret == -1) { TALLOC_FREE(frame); @@ -263,8 +259,6 @@ static int xattr_tdb_removexattr(struct vfs_handle_struct *handle, TALLOC_FREE(frame); return -1; }); - SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context, TALLOC_FREE(frame); return -1); - ret = xattr_tdb_get_file_id(handle, path, &id); if (ret == -1) { TALLOC_FREE(frame);