aboutsummaryrefslogtreecommitdiffstats
path: root/core/fs/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/fs/cache.c')
-rw-r--r--core/fs/cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/fs/cache.c b/core/fs/cache.c
index 0d7891be..7c68c98a 100644
--- a/core/fs/cache.c
+++ b/core/fs/cache.c
@@ -40,7 +40,6 @@ void cache_init(struct device *dev, int block_size_shift)
cache = dev->cache_head + 1; /* First cache descriptor */
head->prev = &cache[dev->cache_entries-1];
- head->next->prev = dev->cache_head;
head->block = -1;
head->data = NULL;