Skip to content

Commit

Permalink
mon: drop useless rank init assignment
Browse files Browse the repository at this point in the history
drop useless rank init assignment

Fixes:14508
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
  • Loading branch information
renhwztetecs committed Jan 26, 2016
1 parent 93ad14d commit 508013d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/mon/Monitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ Monitor::Monitor(CephContext* cct_, string nm, MonitorDBStore *s,
routed_request_tid(0),
op_tracker(cct, true, 1)
{
rank = -1;

clog = log_client.create_channel(CLOG_CHANNEL_CLUSTER);
audit_clog = log_client.create_channel(CLOG_CHANNEL_AUDIT);

Expand Down

0 comments on commit 508013d

Please sign in to comment.