Remove unused "sid_equal"
authorVolker Lendecke <vl@samba.org>
Wed, 17 Aug 2011 10:20:30 +0000 (12:20 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 17 Aug 2011 10:30:08 +0000 (12:30 +0200)
libcli/security/dom_sid.h
libcli/security/util_sid.c

index 04571c21decc1191ace6cf2ddc3994ce3bb14f8e..5886ce31c62a4f3869c9b9f5473173079663d15d 100644 (file)
@@ -89,7 +89,6 @@ void sid_copy(struct dom_sid *dst, const struct dom_sid *src);
 bool sid_blob_parse(DATA_BLOB in, struct dom_sid *sid);
 bool sid_parse(const char *inbuf, size_t len, struct dom_sid *sid);
 int sid_compare_domain(const struct dom_sid *sid1, const struct dom_sid *sid2);
-bool sid_equal(const struct dom_sid *sid1, const struct dom_sid *sid2);
 NTSTATUS add_sid_to_array(TALLOC_CTX *mem_ctx, const struct dom_sid *sid,
                          struct dom_sid **sids, uint32_t *num);
 NTSTATUS add_sid_to_array_unique(TALLOC_CTX *mem_ctx, const struct dom_sid *sid,
index dd27b7c20d3eaae85a82c064ac105810f1a719ed..0f95fbb845c116c13d3f04c20e652bdb2e8eabc7 100644 (file)
@@ -275,15 +275,6 @@ int sid_compare_domain(const struct dom_sid *sid1, const struct dom_sid *sid2)
        return dom_sid_compare_auth(sid1, sid2);
 }
 
-/*****************************************************************
- Compare two sids.
-*****************************************************************/
-
-bool sid_equal(const struct dom_sid *sid1, const struct dom_sid *sid2)
-{
-       return dom_sid_compare(sid1, sid2) == 0;
-}
-
 /********************************************************************
  Add SID to an array SIDs
 ********************************************************************/