It is redundant -- the only caller sets both since commit
6593e31fff18
("librbd/cache/pwl: correct cache state").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
lderr(m_image_ctx.cct) << "failed to remove empty pool \"" << this->m_log_pool_name << "\": "
<< pmemobj_errormsg() << dendl;
} else {
- m_cache_state->clean = true;
- m_cache_state->empty = true;
m_cache_state->present = false;
}
} else {
lderr(m_image_ctx.cct) << "failed to remove empty pool \""
<< this->m_log_pool_name << "\": " << dendl;
} else {
- m_cache_state->clean = true;
- m_cache_state->empty = true;
m_cache_state->present = false;
}
} else {