]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbind: Remove dupplicated talloc_get_type() call
authorSamuel Cabrero <scabrero@samba.org>
Wed, 25 May 2022 11:21:02 +0000 (13:21 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 27 Jun 2022 15:50:29 +0000 (15:50 +0000)
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/idmap_ad_nss.c

index 96fee84997f29c60e58cdb486f7b0866c706ccd4..8cc3bafb57024eeea0fd35654553f93490c7a47c 100644 (file)
@@ -70,8 +70,6 @@ static ADS_STATUS ad_idmap_cached_connection(struct idmap_domain *dom)
                return status;
        }
 
-       ctx = talloc_get_type(dom->private_data, struct idmap_ad_context);
-
        /* if we have a valid ADS_STRUCT and the schema model is
           defined, then we can return here. */