Skip to content

Commit

Permalink
Merge pull request #783 from ldorau/Remove_unused_function_get_block_…
Browse files Browse the repository at this point in the history
…node

Remove unused function get_block_node()
  • Loading branch information
ldorau authored Oct 8, 2024
2 parents 3e0e88e + b7f5f78 commit d5c62e6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/provider/provider_coarse.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ static int coarse_ravl_comp(const void *lhs, const void *rhs) {
return 0;
}

static inline ravl_node_t *get_block_node(struct ravl *rtree, block_t *block) {
ravl_data_t rdata = {(uintptr_t)block->data, NULL};
return ravl_find(rtree, &rdata, RAVL_PREDICATE_EQUAL);
}

static inline block_t *get_node_block(ravl_node_t *node) {
ravl_data_t *node_data = ravl_data(node);
assert(node_data);
Expand Down

0 comments on commit d5c62e6

Please sign in to comment.