smbd: Remove unused "oplock_request" arg from send_break_message
authorVolker Lendecke <vl@samba.org>
Thu, 26 Sep 2013 22:31:12 +0000 (15:31 -0700)
committerStefan Metzmacher <metze@samba.org>
Wed, 23 Oct 2013 09:51:43 +0000 (11:51 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/open.c

index 19de472a8aa8b51848ab63989b18431bfc663396..35a4877161932cd769f3e069bc27530cd8ddae1f 100644 (file)
@@ -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;
 }