Remove a redundant reference to rpc_pipe_state->cli from srv_spoolss
authorVolker Lendecke <vl@samba.org>
Sun, 20 Apr 2008 12:02:21 +0000 (14:02 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 20 Apr 2008 12:08:16 +0000 (14:08 +0200)
This assignment is done in cli_rpc_pipe_open called from
cli_rpc_pipe_open_noauth already.
(This used to be commit 7331c4c2781bf7904942c119f1a8de8eda00ae7e)

source3/rpc_server/srv_spoolss_nt.c

index 7788e763fa57644bb756a2e26db1e6cb944b1640..722ad5495106b0f73877ecd70850717addc93d62 100644 (file)
@@ -2609,10 +2609,6 @@ static bool spoolss_connect_to_client(struct rpc_pipe_client **pp_pipe,
                return False;
        }
 
-       /* make sure to save the cli_state pointer.  Keep its own talloc_ctx */
-
-       (*pp_pipe)->cli = the_cli;
-
        return True;
 }