Merge pull request #12388 from kylinstorage/wip-remove-librbd-unused-variable

librbd: remove unused local variable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
Jason Dillaman 2016-12-08 08:56:25 -05:00 committed by GitHub
commit 92adebc105

View File

@ -910,7 +910,6 @@ struct C_InvalidateCache : public Context {
map<string, bufferlist> *res) {
size_t conf_prefix_len = prefix.size();
string start = prefix;
for (auto it : pairs) {
if (it.first.compare(0, MIN(conf_prefix_len, it.first.size()), prefix) > 0)
return false;