summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@samba.org>2022-05-25 13:21:02 +0200
committerJeremy Allison <jra@samba.org>2022-06-27 15:50:29 +0000
commit337d7df48e4f02b68afc735d8b540deb2c34d2b8 (patch)
tree7947bc3eed1f99abee7b8eece489b73e0f94168a
parent6223dea34e7a5af95321c02acd6a6022531bced1 (diff)
downloadsamba-337d7df48e4f02b68afc735d8b540deb2c34d2b8.tar.gz
s3:winbind: Remove dupplicated talloc_get_type() call
Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/winbindd/idmap_ad_nss.c2
1 files changed, 0 insertions, 2 deletions
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. */