From: Volker Lendecke Date: Wed, 15 Jun 2016 08:21:48 +0000 (+0200) Subject: smbd: sconn->sys_notify_ctx is not used X-Git-Tag: tdb-1.3.10~330 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e27c19d13a7d2c2cfc5881c95850a2d65d0aee3;p=thirdparty%2Fsamba.git smbd: sconn->sys_notify_ctx is not used Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 02665336c26..8ba564d0e9f 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -860,7 +860,6 @@ struct smbd_server_connection { const char *remote_hostname; struct tevent_context *ev_ctx; struct messaging_context *msg_ctx; - struct sys_notify_context *sys_notify_ctx; struct notify_context *notify_ctx; bool using_smb2; int trans_num; diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 34cc369ce19..46bb226ecdf 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -697,10 +697,6 @@ static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn, MSG_SMB_NOTIFY_CANCEL_DELETED, smbd_notify_cancel_deleted); } - if (sconn->sys_notify_ctx == NULL) { - sconn->sys_notify_ctx = sys_notify_context_create( - sconn, sconn->ev_ctx); - } } if (lp_kernel_oplocks(snum)) {