Skip to content

Commit

Permalink
libceph: remove unused monc->have_fsid
Browse files Browse the repository at this point in the history
This is unused; use monc->client->have_fsid.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil authored and Alex Elder committed Oct 1, 2012
1 parent c98f533 commit 290e335
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/linux/ceph/mon_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ struct ceph_mon_client {
int cur_mon; /* last monitor i contacted */
unsigned long sub_sent, sub_renew_after;
struct ceph_connection con;
bool have_fsid;

/* pending generic requests */
struct rb_root generic_request_tree;
Expand Down
1 change: 0 additions & 1 deletion net/ceph/mon_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,6 @@ static int build_initial_monmap(struct ceph_mon_client *monc)
monc->monmap->mon_inst[i].name.num = cpu_to_le64(i);
}
monc->monmap->num_mon = num_mon;
monc->have_fsid = false;
return 0;
}

Expand Down

0 comments on commit 290e335

Please sign in to comment.