Skip to content

Commit 290e335

Browse files
Sage WeilAlex Elder
authored andcommitted
libceph: remove unused monc->have_fsid
This is unused; use monc->client->have_fsid. Signed-off-by: Sage Weil <sage@inktank.com>
1 parent c98f533 commit 290e335

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎include/linux/ceph/mon_client.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ struct ceph_mon_client {
7171
int cur_mon; /* last monitor i contacted */
7272
unsigned long sub_sent, sub_renew_after;
7373
struct ceph_connection con;
74-
bool have_fsid;
7574

7675
/* pending generic requests */
7776
struct rb_root generic_request_tree;

‎net/ceph/mon_client.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,6 @@ static int build_initial_monmap(struct ceph_mon_client *monc)
769769
monc->monmap->mon_inst[i].name.num = cpu_to_le64(i);
770770
}
771771
monc->monmap->num_mon = num_mon;
772-
monc->have_fsid = false;
773772
return 0;
774773
}
775774

0 commit comments

Comments
 (0)