X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=osl.c;h=1179307c1d21ddf0c3d9bb0731ea1fcb3cc700c8;hb=72411ed086a2209cab6c942bb8fe412a54124ec0;hp=9e6de44f9b6192a465b172567737524dbef76f67;hpb=6d7dce7f277fc8606fb8d5ed6360660c13a218af;p=osl.git diff --git a/osl.c b/osl.c index 9e6de44..1179307 100644 --- a/osl.c +++ b/osl.c @@ -148,11 +148,6 @@ static int verify_name(const char *name) return 1; } -int osl_hash_compare(const struct osl_object *obj1, const struct osl_object *obj2) -{ - return hash_compare((HASH_TYPE *)obj1->data, (HASH_TYPE *)obj2->data); -} - static char *disk_storage_dirname(const struct osl_table *t, unsigned col_num, const char *ds_name) { @@ -199,7 +194,6 @@ static int init_column_descriptions(struct osl_table *t) int i, j, ret; const struct osl_column_description *cd; - ret = -E_OSL_BAD_TABLE_DESC; ret = verify_name(t->desc->name); if (ret < 0) goto err;