From: Michael Adam Date: Wed, 3 Aug 2016 22:13:31 +0000 (+0200) Subject: smbd: remove redundant comment (with typo) from token_contains_name() X-Git-Tag: tevent-0.9.30~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8be379e2b1408a0800cb5682e6b36dcf7ae3087e;p=thirdparty%2Fsamba.git smbd: remove redundant comment (with typo) from token_contains_name() The code says it all. Signed-off-by: Michael Adam Reviewed-by: Andreas Schneider --- diff --git a/source3/smbd/share_access.c b/source3/smbd/share_access.c index fa56063ca2b..3cbf7f318a2 100644 --- a/source3/smbd/share_access.c +++ b/source3/smbd/share_access.c @@ -91,8 +91,6 @@ static bool token_contains_name(TALLOC_CTX *mem_ctx, smb_panic("substitutions failed"); } - /* check to see is we already have a SID */ - if ( string_to_sid( &sid, name ) ) { DEBUG(5,("token_contains_name: Checking for SID [%s] in token\n", name)); return nt_token_check_sid( &sid, token );