libceph: remove unused monc->have_fsid
authorSage Weil <sage@inktank.com>
Fri, 17 Aug 2012 16:47:49 +0000 (09:47 -0700)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:49 +0000 (14:30 -0500)
This is unused; use monc->client->have_fsid.

Signed-off-by: Sage Weil <sage@inktank.com>
include/linux/ceph/mon_client.h
net/ceph/mon_client.c

index 2113e3850a4e0c7e088b22b07092baf2616654a5..1dc508aeb73d7a6fe96aa49c946aa3450beb2b8e 100644 (file)
@@ -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;
index 900ea0f043fc0d5cfd7c68b7abc37e607d822165..e98f6070b5ae7cafd7ababf863201e74afeb8b89 100644 (file)
@@ -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;
 }