OSDN Git Service

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 2113e38..1dc508a 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 900ea0f..e98f607 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;
 }