Skip to content

Commit

Permalink
remove extra fetch function
Browse files Browse the repository at this point in the history
  • Loading branch information
seemingwang committed Nov 13, 2021
1 parent 4fb7b3b commit 93e1bc6
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions paddle/fluid/distributed/table/common_graph_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,19 +240,6 @@ class RandomSampleLRU {
}
}

void fetch(LRUNode<K, V> *node) {
if (node->pre) {
node->pre->next = node->next;
} else {
node_head = node->next;
}
if (node->next) {
node->next->pre = node->pre;
} else {
node_end = node->pre;
}
}

private:
std::unordered_map<K, LRUNode<K, V> *> key_map;
ScaledLRU<K, V> *father;
Expand Down

1 comment on commit 93e1bc6

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.