s3:smbd: remove now unused smbd_server_connection->conn
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Jun 2014 06:43:26 +0000 (08:43 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 19 Sep 2014 07:15:13 +0000 (09:15 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/globals.h
source3/smbd/process.c

index 68388396cb8d54aa299db43da90effde59c3123b..4a8927a05dbfd6d17bf9726683dfc8dad7d48727 100644 (file)
@@ -840,7 +840,6 @@ struct smbd_server_connection {
        struct asys_context *asys_ctx;
        struct tevent_fd *asys_fde;
 
-       struct smbXsrv_connection *conn;
        struct smbXsrv_client *client;
 };
 
index 23ebd948de3b69204e507595dda0bd764dde3a0b..690b6ee9c3830678b9a916f52f5351d254b19a12 100644 (file)
@@ -3625,11 +3625,6 @@ void smbd_process(struct tevent_context *ev_ctx,
        xconn->transport.sock = sock_fd;
        smbd_echo_init(xconn);
 
-       /*
-        * TODO: remove this...:-)
-        */
-       sconn->conn = xconn;
-
        if (!interactive) {
                smbd_setup_sig_term_handler(sconn);
                smbd_setup_sig_hup_handler(sconn);