aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-10-18 04:25:38 -0400
committerIlya Dryomov <idryomov@gmail.com>2015-11-02 17:36:47 -0500
commit70cf052d0c4b60b6fbb981380660893306b9f172 (patch)
tree80ace4fe06005accc22302fdfb461b1ae487a429 /net/ceph
parentb5b98989dc7ed2093aeb76f2d0db79888582b0a2 (diff)
libceph: remove con argument in handle_reply()
Since handle_reply() does not use its con argument, remove it. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/osd_client.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index f79ccac6699f..a362d7e94cf3 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -1750,8 +1750,7 @@ static void complete_request(struct ceph_osd_request *req)
1750 * handle osd op reply. either call the callback if it is specified, 1750 * handle osd op reply. either call the callback if it is specified,
1751 * or do the completion to wake up the waiting thread. 1751 * or do the completion to wake up the waiting thread.
1752 */ 1752 */
1753static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg, 1753static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg)
1754 struct ceph_connection *con)
1755{ 1754{
1756 void *p, *end; 1755 void *p, *end;
1757 struct ceph_osd_request *req; 1756 struct ceph_osd_request *req;
@@ -2807,7 +2806,7 @@ static void dispatch(struct ceph_connection *con, struct ceph_msg *msg)
2807 ceph_osdc_handle_map(osdc, msg); 2806 ceph_osdc_handle_map(osdc, msg);
2808 break; 2807 break;
2809 case CEPH_MSG_OSD_OPREPLY: 2808 case CEPH_MSG_OSD_OPREPLY:
2810 handle_reply(osdc, msg, con); 2809 handle_reply(osdc, msg);
2811 break; 2810 break;
2812 case CEPH_MSG_WATCH_NOTIFY: 2811 case CEPH_MSG_WATCH_NOTIFY:
2813 handle_watch_notify(osdc, msg); 2812 handle_watch_notify(osdc, msg);