summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-12 14:55:54 +0100
committerVolker Lendecke <vlendec@samba.org>2011-12-12 21:50:25 +0100
commit0f9d14820e222233d63b7a79b4b1ff044332ef41 (patch)
treed3e48dcf07b6d8364ac7cabf80391b626b5509fb /source3/lib/util.c
parent77dc976b53490e06dff649f199033fe799b714bf (diff)
downloadsamba-0f9d14820e222233d63b7a79b4b1ff044332ef41.tar.gz
samba-0f9d14820e222233d63b7a79b4b1ff044332ef41.tar.bz2
samba-0f9d14820e222233d63b7a79b4b1ff044332ef41.zip
s3: Remove a bunch of calls to procid_self()
All callers to messaging_[re]init only used procid_self()
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 9b9d34c22f..2e432ab18e 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -372,7 +372,6 @@ ssize_t write_data_at_offset(int fd, const char *buffer, size_t N, SMB_OFF_T pos
NTSTATUS reinit_after_fork(struct messaging_context *msg_ctx,
struct event_context *ev_ctx,
- struct server_id id,
bool parent_longlived)
{
NTSTATUS status = NT_STATUS_OK;
@@ -399,7 +398,7 @@ NTSTATUS reinit_after_fork(struct messaging_context *msg_ctx,
* For clustering, we need to re-init our ctdbd connection after the
* fork
*/
- status = messaging_reinit(msg_ctx, id);
+ status = messaging_reinit(msg_ctx);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("messaging_reinit() failed: %s\n",
nt_errstr(status)));