diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-10-18 11:25:38 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-11-03 01:36:47 +0300 |
commit | 70cf052d0c4b60b6fbb981380660893306b9f172 (patch) | |
tree | 80ace4fe06005accc22302fdfb461b1ae487a429 /net/ceph/osd_client.c | |
parent | b5b98989dc7ed2093aeb76f2d0db79888582b0a2 (diff) | |
download | linux-70cf052d0c4b60b6fbb981380660893306b9f172.tar.xz |
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/osd_client.c')
-rw-r--r-- | net/ceph/osd_client.c | 5 |
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) * 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); |