From 15123d96ffcac2243f69be41143bf78d92228d7f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 19 Jul 2011 15:58:20 +1000 Subject: s3-auth inline make_auth_session_info into only caller --- source3/auth/server_info.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'source3/auth/server_info.c') diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c index c78b3f67df9..a53e556d283 100644 --- a/source3/auth/server_info.c +++ b/source3/auth/server_info.c @@ -63,29 +63,6 @@ struct auth_serversupplied_info *make_server_info(TALLOC_CTX *mem_ctx) return result; } -/*************************************************************************** - Make a server_info struct. Free with TALLOC_FREE(). -***************************************************************************/ - -struct auth_session_info *make_auth_session_info(TALLOC_CTX *mem_ctx) -{ - struct auth_session_info *result; - - result = talloc_zero(mem_ctx, struct auth_session_info); - if (result == NULL) { - DEBUG(0, ("talloc failed\n")); - return NULL; - } - - /* Initialise the unix_token to NULL which may save us from - giving away root access if there is a bug in allocating - these fields. */ - - result->unix_token = NULL; - - return result; -} - /**************************************************************************** inits a netr_SamInfo2 structure from an auth_serversupplied_info. sam2 must already be initialized and is used as the talloc parent for its members. -- cgit