From cb279212744345a5a77e60401cb19d151b978ea8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 26 Sep 2013 15:31:12 -0700 Subject: smbd: Remove unused "oplock_request" arg from send_break_message Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- source3/smbd/open.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 19de472a8a..35a4877161 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1168,9 +1168,8 @@ static NTSTATUS open_mode_check(connection_struct *conn, */ static NTSTATUS send_break_message(files_struct *fsp, - struct share_mode_entry *exclusive, - uint64_t mid, - int oplock_request) + struct share_mode_entry *exclusive, + uint64_t mid) { NTSTATUS status; char msg[MSG_SMB_SHARE_MODE_ENTRY_SIZE]; @@ -1350,7 +1349,7 @@ static bool delay_for_oplock(files_struct *fsp, if (share_mode_stale_pid(d, 0)) { return false; } - send_break_message(fsp, entry, mid, oplock_request); + send_break_message(fsp, entry, mid); return true; } if (have_sharing_violation) { @@ -1370,7 +1369,7 @@ static bool delay_for_oplock(files_struct *fsp, return false; } - send_break_message(fsp, entry, mid, oplock_request); + send_break_message(fsp, entry, mid); return true; } -- cgit