s3:idmap: remove unused method set_id_hwm from idmap API
[amitay/samba.git] / source3 / winbindd / idmap_tdb2.c
index d5044ed5c60c13616fff5f5eaf85368e2a0e21f3..4576ed68f23f379ff02b42edc424dc4c43ecabaa 100644 (file)
@@ -297,17 +297,6 @@ static NTSTATUS idmap_tdb2_allocate_id(struct unixid *xid)
        return status;
 }
 
-/*
-  Set high id. 
-*/
-static NTSTATUS idmap_tdb2_set_hwm(struct unixid *xid)
-{
-       /* not supported, or we would invalidate the cache tdb on
-          other nodes */
-       DEBUG(0,("idmap_tdb2_set_hwm not supported\n"));
-       return NT_STATUS_NOT_SUPPORTED;
-}
-
 /*
   Close the alloc tdb 
 */
@@ -897,7 +886,6 @@ static struct idmap_methods db_methods = {
 static struct idmap_alloc_methods db_alloc_methods = {
        .init        = idmap_tdb2_alloc_init,
        .allocate_id = idmap_tdb2_allocate_id,
-       .set_id_hwm  = idmap_tdb2_set_hwm,
        .close_fn    = idmap_tdb2_alloc_close
 };