X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=oidset.h;h=14f18f791fea19301a41b650b860b0b432241e7a;hb=fb9d7431cf4c4d4d90ad2d2904c7feb19dfb2f8f;hp=c9d0f6d3cc8b99959d8637dcbf8ecb235021104e;hpb=764bd200e1077b44f291973a623debccf151fcb2;p=thirdparty%2Fgit.git diff --git a/oidset.h b/oidset.h index c9d0f6d3cc..14f18f791f 100644 --- a/oidset.h +++ b/oidset.h @@ -16,18 +16,6 @@ * table overhead. */ -static inline unsigned int oid_hash(struct object_id oid) -{ - return sha1hash(oid.hash); -} - -static inline int oid_equal(struct object_id a, struct object_id b) -{ - return oideq(&a, &b); -} - -KHASH_INIT(oid, struct object_id, int, 0, oid_hash, oid_equal) - /** * A single oidset; should be zero-initialized (or use OIDSET_INIT). */