summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-19 16:31:52 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-19 14:15:41 +0200
commit84ad848c86f6c36cb7ceab25609710acbc57893b (patch)
tree4d474aae74b6c4ecb4ee3f0d854e2e37a1d9d636 /source3/modules
parent00d493b00ced40f3a5dd39d9f1386ff5694872a3 (diff)
downloadsamba-84ad848c86f6c36cb7ceab25609710acbc57893b.tar.gz
samba-84ad848c86f6c36cb7ceab25609710acbc57893b.tar.bz2
samba-84ad848c86f6c36cb7ceab25609710acbc57893b.zip
s3-xattr_tdb: Remove dead code: talloc_stackframe() cannot fail
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 14:15:42 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_xattr_tdb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c
index 5c105b5194..ee3199d277 100644
--- a/source3/modules/vfs_xattr_tdb.c
+++ b/source3/modules/vfs_xattr_tdb.c
@@ -37,10 +37,6 @@ static ssize_t xattr_tdb_getxattr(struct vfs_handle_struct *handle,
ssize_t xattr_size;
DATA_BLOB blob;
TALLOC_CTX *frame = talloc_stackframe();
- if (!frame) {
- errno = ENOMEM;
- return -1;
- }
SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context, return -1);
@@ -75,10 +71,6 @@ static ssize_t xattr_tdb_fgetxattr(struct vfs_handle_struct *handle,
ssize_t xattr_size;
DATA_BLOB blob;
TALLOC_CTX *frame = talloc_stackframe();
- if (!frame) {
- errno = ENOMEM;
- return -1;
- }
SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context, return -1);