summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-10-18 13:55:38 +0530
committerIlya Dryomov <idryomov@gmail.com>2015-11-02 23:36:47 +0100
commit70cf052d0c4b60b6fbb981380660893306b9f172 (patch)
tree80ace4fe06005accc22302fdfb461b1ae487a429 /net/ceph
parentb5b98989dc7ed2093aeb76f2d0db79888582b0a2 (diff)
downloadop-kernel-dev-70cf052d0c4b60b6fbb981380660893306b9f172.zip
op-kernel-dev-70cf052d0c4b60b6fbb981380660893306b9f172.tar.gz
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 f79ccac..a362d7e 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)
* handle osd op reply. either call the callback if it is specified,
* or do the completion to wake up the waiting thread.
*/
-static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg,
- struct ceph_connection *con)
+static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg)
{
void *p, *end;
struct ceph_osd_request *req;
@@ -2807,7 +2806,7 @@ static void dispatch(struct ceph_connection *con, struct ceph_msg *msg)
ceph_osdc_handle_map(osdc, msg);
break;
case CEPH_MSG_OSD_OPREPLY:
- handle_reply(osdc, msg, con);
+ handle_reply(osdc, msg);
break;
case CEPH_MSG_WATCH_NOTIFY:
handle_watch_notify(osdc, msg);
OpenPOWER on IntegriCloud