]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
ceph: remove unused `map_waiters` from osdc client
authorJohn Spray <john.spray@redhat.com>
Thu, 30 Oct 2014 13:32:13 +0000 (13:32 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 30 Oct 2014 13:47:51 +0000 (13:47 +0000)
This is initialized but never used.

Signed-off-by: John Spray <john.spray@redhat.com>
include/linux/ceph/osd_client.h
net/ceph/osd_client.c

index 03aeb27fcc69d74484de4db06550abd05b891905..7cb5cea386c83e76393e71b7765ebe84e7316073 100644 (file)
@@ -197,7 +197,6 @@ struct ceph_osd_client {
 
        struct ceph_osdmap     *osdmap;       /* current map */
        struct rw_semaphore    map_sem;
-       struct completion      map_waiters;
        u64                    last_requested_map;
 
        struct mutex           request_mutex;
index f3fc54eac09d32e691a64b5d65ba90793cba96b8..bcbd850a174342f30fda99526fbaeb8805d26375 100644 (file)
@@ -2537,7 +2537,6 @@ int ceph_osdc_init(struct ceph_osd_client *osdc, struct ceph_client *client)
        osdc->client = client;
        osdc->osdmap = NULL;
        init_rwsem(&osdc->map_sem);
-       init_completion(&osdc->map_waiters);
        osdc->last_requested_map = 0;
        mutex_init(&osdc->request_mutex);
        osdc->last_tid = 0;