s3:idmap: remove unused idmap_set_uid_hwm()
[amitay/samba.git] / source3 / winbindd / idmap.c
index 4229bf47b7a87eebebf5fa391987dd86a6b92b8e..841adc8ef007e685320c6e8644ad6ebb41b0c3e1 100644 (file)
@@ -646,19 +646,6 @@ NTSTATUS idmap_allocate_gid(struct unixid *id)
        return ctx->methods->allocate_id(id);
 }
 
-NTSTATUS idmap_set_uid_hwm(struct unixid *id)
-{
-       struct idmap_alloc_context *ctx;
-       NTSTATUS ret;
-
-       if (!NT_STATUS_IS_OK(ret = idmap_alloc_init(&ctx))) {
-               return ret;
-       }
-
-       id->type = ID_TYPE_UID;
-       return ctx->methods->set_id_hwm(id);
-}
-
 NTSTATUS idmap_set_gid_hwm(struct unixid *id)
 {
        struct idmap_alloc_context *ctx;