Skip to content

Commit d5c62e6

Browse files
authored
Merge pull request #783 from ldorau/Remove_unused_function_get_block_node
Remove unused function get_block_node()
2 parents 3e0e88e + b7f5f78 commit d5c62e6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/provider/provider_coarse.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,6 @@ static int coarse_ravl_comp(const void *lhs, const void *rhs) {
120120
return 0;
121121
}
122122

123-
static inline ravl_node_t *get_block_node(struct ravl *rtree, block_t *block) {
124-
ravl_data_t rdata = {(uintptr_t)block->data, NULL};
125-
return ravl_find(rtree, &rdata, RAVL_PREDICATE_EQUAL);
126-
}
127-
128123
static inline block_t *get_node_block(ravl_node_t *node) {
129124
ravl_data_t *node_data = ravl_data(node);
130125
assert(node_data);

0 commit comments

Comments
 (0)