From: Samuel Cabrero Date: Wed, 25 May 2022 11:21:02 +0000 (+0200) Subject: s3:winbind: Remove dupplicated talloc_get_type() call X-Git-Tag: tevent-0.13.0~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=337d7df48e4f02b68afc735d8b540deb2c34d2b8;p=thirdparty%2Fsamba.git s3:winbind: Remove dupplicated talloc_get_type() call Signed-off-by: Samuel Cabrero Reviewed-by: Jeremy Allison --- diff --git a/source3/winbindd/idmap_ad_nss.c b/source3/winbindd/idmap_ad_nss.c index 96fee84997f..8cc3bafb570 100644 --- a/source3/winbindd/idmap_ad_nss.c +++ b/source3/winbindd/idmap_ad_nss.c @@ -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. */