blobfs: Remove next pointer in cache_buffer

Change-Id: I4797e3900eb425f8cddec1543a4612d4d98e07a6
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/372990
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Ziye Yang 2017-08-07 12:48:11 +08:00 committed by Daniel Verkamp
parent 9ea96234d8
commit 59379d4f06
2 changed files with 0 additions and 4 deletions

View File

@ -1642,9 +1642,6 @@ cache_append_buffer(struct spdk_file *file)
return NULL; return NULL;
} }
if (file->last != NULL) {
file->last->next = last;
}
file->last = last; file->last = last;
return last; return last;

View File

@ -36,7 +36,6 @@
struct cache_buffer { struct cache_buffer {
uint8_t *buf; uint8_t *buf;
struct cache_buffer *next;
uint64_t offset; uint64_t offset;
uint32_t buf_size; uint32_t buf_size;
uint32_t bytes_filled; uint32_t bytes_filled;