Merge pull request #8980 from stiopaa1/osd_unneededmapassign

osd/OSD.h: remove unneeded line

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Josh Durgin 2016-07-06 15:57:28 -07:00 committed by GitHub
commit 3134a2dbc1

View File

@ -1148,7 +1148,6 @@ public:
void add_pgid(spg_t pgid, PG *pg) {
Mutex::Locker l(pgid_lock);
if (!pgid_tracker.count(pgid)) {
pgid_tracker[pgid] = 0;
live_pgs[pgid] = pg;
}
pgid_tracker[pgid]++;