diff mbox

[2/7] ceph: remove unused `map_waiters` from osdc client

Message ID 1415111669-26246-3-git-send-email-john.spray@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

John Spray Nov. 4, 2014, 2:34 p.m. UTC
This is initialized but never used.

Signed-off-by: John Spray <john.spray@redhat.com>
---
 include/linux/ceph/osd_client.h | 1 -
 net/ceph/osd_client.c           | 1 -
 2 files changed, 2 deletions(-)
diff mbox

Patch

diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index 03aeb27..7cb5cea 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -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;
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index 5a75395..75ab07c 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -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;