diff --git a/lib/blobfs/blobfs.c b/lib/blobfs/blobfs.c index acc049b8d..c22b08617 100644 --- a/lib/blobfs/blobfs.c +++ b/lib/blobfs/blobfs.c @@ -1642,9 +1642,6 @@ cache_append_buffer(struct spdk_file *file) return NULL; } - if (file->last != NULL) { - file->last->next = last; - } file->last = last; return last; diff --git a/lib/blobfs/tree.h b/lib/blobfs/tree.h index ae4237629..0a9ba62a3 100644 --- a/lib/blobfs/tree.h +++ b/lib/blobfs/tree.h @@ -36,7 +36,6 @@ struct cache_buffer { uint8_t *buf; - struct cache_buffer *next; uint64_t offset; uint32_t buf_size; uint32_t bytes_filled;