From 002fe91768757f20de2a40f14480b6c5f8b74bdc Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 22 Jan 2009 13:49:06 +0100 Subject: s3:idmap: remove unused idmap_set_uid_hwm() Michael --- source3/winbindd/idmap.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/winbindd/idmap.c') diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index 4229bf47b7..841adc8ef0 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -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; -- cgit