]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove redundant line
authorYehuda Sadeh <yehuda@hq.newdream.net>
Sun, 21 Aug 2011 06:32:12 +0000 (23:32 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Sun, 21 Aug 2011 06:32:43 +0000 (23:32 -0700)
src/rgw/rgw_cache.cc

index 526e6917db3ec5871c7994e423a74efa59748960..249d8baa4a28ff098879a264c48e1b366f85f880 100644 (file)
@@ -99,7 +99,6 @@ void ObjectCache::touch_lru(string& name, std::list<string>::iterator& lru_iter)
     lru_iter--;
     RGW_LOG(10) << "adding " << name << " to cache LRU end" << dendl;
   } else {
-    string name = *lru_iter;
     RGW_LOG(10) << "moving " << name << " to cache LRU end" << dendl;
     lru.erase(lru_iter);
     lru.push_back(name);