summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-03-20 14:58:19 +0100
committerJeremy Allison <jra@samba.org>2014-03-21 21:22:24 +0100
commit9e754840deea6e098abc2b05589f73a37d042693 (patch)
treece40de6a0cb244a68efc54581df7bbec28cf7d74
parent698f7f21c2dd3a8eaaccee32bf8dd7d36e8c794e (diff)
downloadsamba-9e754840deea6e098abc2b05589f73a37d042693.tar.gz
samba-9e754840deea6e098abc2b05589f73a37d042693.tar.xz
samba-9e754840deea6e098abc2b05589f73a37d042693.zip
smbd: Remove unused "share_mode_data->id"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Mar 21 21:22:24 CET 2014 on sn-devel-104
-rw-r--r--source3/librpc/idl/open_files.idl1
-rw-r--r--source3/locking/share_mode_lock.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/source3/librpc/idl/open_files.idl b/source3/librpc/idl/open_files.idl
index 686bc02548..0ebc819d19 100644
--- a/source3/librpc/idl/open_files.idl
+++ b/source3/librpc/idl/open_files.idl
@@ -41,7 +41,6 @@ interface open_files
[string,charset(UTF8)] char *servicepath;
[string,charset(UTF8)] char *base_name;
[string,charset(UTF8)] char *stream_name;
- file_id id;
uint32 num_share_modes;
[size_is(num_share_modes)] share_mode_entry share_modes[];
uint32 num_delete_tokens;
diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c
index 50d5cf1f54..5e25404426 100644
--- a/source3/locking/share_mode_lock.c
+++ b/source3/locking/share_mode_lock.c
@@ -331,7 +331,6 @@ static struct share_mode_lock *get_share_mode_lock_internal(
TALLOC_FREE(rec);
return NULL;
}
- d->id = id;
d->record = talloc_move(d, &rec);
talloc_set_destructor(d, share_mode_data_destructor);