summaryrefslogtreecommitdiff
path: root/firmware/lru.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lru.c')
-rw-r--r--firmware/lru.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/lru.c b/firmware/lru.c
index 5e1561e492..5d70511434 100644
--- a/firmware/lru.c
+++ b/firmware/lru.c
@@ -93,7 +93,6 @@ void lru_touch(struct lru* pl, short handle)
93 93
94 /* insert current node at tail */ 94 /* insert current node at tail */
95 struct lru_node* tail_node = lru_node_p(pl, pl->_tail); 95 struct lru_node* tail_node = lru_node_p(pl, pl->_tail);
96 short tail_node_next_handle = tail_node->_next; /* Bug fix */
97 96
98 curr_node->_next = tail_node->_next; 97 curr_node->_next = tail_node->_next;
99 tail_node->_next = handle; 98 tail_node->_next = handle;