nwrap: remove superfluous comments from nwrap_add_hname_alias()
authorMichael Adam <obnox@samba.org>
Wed, 11 Nov 2015 09:21:10 +0000 (10:21 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:29 +0000 (12:25 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/nss_wrapper/nss_wrapper.c

index 02d5f354833542df53c05f290f8449cb9af64555..4b93f2d01fb22b54dab94228bd76b4d586ca0b1c 100644 (file)
@@ -2599,7 +2599,6 @@ static bool nwrap_add_hname_alias(char *const h_name_a,
        ENTRY e;
        ENTRY *p;
 
-       /* Maybe it's little bit late ... */
        assert(ed != NULL);
        assert(h_name_a != NULL);
 
@@ -2609,10 +2608,8 @@ static bool nwrap_add_hname_alias(char *const h_name_a,
        p = hsearch(e, FIND);
        if (p == NULL) {
                NWRAP_LOG(NWRAP_LOG_DEBUG, "Name %s not found. Adding...", h_name_a);
-               /* Just add alias and don't mess with metadata */
                nwrap_add_hname_add_new(h_name_a, ed);
        } else {
-               /* Element found. Add them to end of list */
                struct nwrap_entdata *ed_dst = (struct nwrap_entdata *)p->data;
 
                assert(p->data != NULL);