summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_internal.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-21 11:59:27 +0100
committerVolker Lendecke <vl@samba.org>2012-03-21 12:52:10 +0100
commit7dcc2bf7af10c6bf5f714b43ca81083fa1bea0b9 (patch)
tree8f7792c52453218a339ebb121877edcdf8639ad6 /source3/smbd/notify_internal.c
parent91f77253e70d8b41f21f62282a7a876a731a795b (diff)
downloadsamba-7dcc2bf7af10c6bf5f714b43ca81083fa1bea0b9.tar.gz
samba-7dcc2bf7af10c6bf5f714b43ca81083fa1bea0b9.tar.bz2
samba-7dcc2bf7af10c6bf5f714b43ca81083fa1bea0b9.zip
s3: Remove "conn" param from notify_init()
Diffstat (limited to 'source3/smbd/notify_internal.c')
-rw-r--r--source3/smbd/notify_internal.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c
index c600c30457..63b7865b13 100644
--- a/source3/smbd/notify_internal.c
+++ b/source3/smbd/notify_internal.c
@@ -86,15 +86,10 @@ static int notify_destructor(struct notify_context *notify)
*/
struct notify_context *notify_init(TALLOC_CTX *mem_ctx,
struct messaging_context *messaging_ctx,
- struct event_context *ev,
- connection_struct *conn)
+ struct event_context *ev)
{
struct notify_context *notify;
- if (!lp_change_notify(conn->params)) {
- return NULL;
- }
-
notify = talloc(mem_ctx, struct notify_context);
if (notify == NULL) {
return NULL;