aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/raid5-cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/raid5-cache.c b/drivers/md/raid5-cache.c
index 7b9149ef685c..a46f547da261 100644
--- a/drivers/md/raid5-cache.c
+++ b/drivers/md/raid5-cache.c
@@ -113,7 +113,6 @@ struct r5l_log {
113 u64 seq; /* log head sequence */ 113 u64 seq; /* log head sequence */
114 114
115 sector_t next_checkpoint; 115 sector_t next_checkpoint;
116 u64 next_cp_seq;
117 116
118 struct mutex io_mutex; 117 struct mutex io_mutex;
119 struct r5l_io_unit *current_io; /* current io_unit accepting new data */ 118 struct r5l_io_unit *current_io; /* current io_unit accepting new data */
@@ -1075,7 +1074,6 @@ static bool r5l_complete_finished_ios(struct r5l_log *log)
1075 break; 1074 break;
1076 1075
1077 log->next_checkpoint = io->log_start; 1076 log->next_checkpoint = io->log_start;
1078 log->next_cp_seq = io->seq;
1079 1077
1080 list_del(&io->log_sibling); 1078 list_del(&io->log_sibling);
1081 mempool_free(io, log->io_pool); 1079 mempool_free(io, log->io_pool);