s3:idmap_autorid: remove redundant code
[samba.git] / source3 / winbindd / idmap_autorid.c
index 39f6731590ab731576eeb09a51693c9e605220a9..4028a46553cd6a9ce6f3952b9793d57be4e33d13 100644 (file)
@@ -530,10 +530,6 @@ static NTSTATUS idmap_autorid_initialize(struct idmap_domain *dom)
 
        dom->private_data = config;
 
-       if (!NT_STATUS_IS_OK(status)) {
-               goto error;
-       }
-
        goto done;
 
 error: