From 9e754840deea6e098abc2b05589f73a37d042693 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 20 Mar 2014 14:58:19 +0100 Subject: [PATCH] smbd: Remove unused "share_mode_data->id" Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Mar 21 21:22:24 CET 2014 on sn-devel-104 --- source3/librpc/idl/open_files.idl | 1 - source3/locking/share_mode_lock.c | 1 - 2 files changed, 2 deletions(-) diff --git a/source3/librpc/idl/open_files.idl b/source3/librpc/idl/open_files.idl index 686bc02548a..0ebc819d193 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 50d5cf1f547..5e25404426f 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);