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>
This commit is contained in:
Родитель
b5b98989dc
Коммит
70cf052d0c
|
@ -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,
|
* handle osd op reply. either call the callback if it is specified,
|
||||||
* or do the completion to wake up the waiting thread.
|
* or do the completion to wake up the waiting thread.
|
||||||
*/
|
*/
|
||||||
static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg,
|
static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg)
|
||||||
struct ceph_connection *con)
|
|
||||||
{
|
{
|
||||||
void *p, *end;
|
void *p, *end;
|
||||||
struct ceph_osd_request *req;
|
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);
|
ceph_osdc_handle_map(osdc, msg);
|
||||||
break;
|
break;
|
||||||
case CEPH_MSG_OSD_OPREPLY:
|
case CEPH_MSG_OSD_OPREPLY:
|
||||||
handle_reply(osdc, msg, con);
|
handle_reply(osdc, msg);
|
||||||
break;
|
break;
|
||||||
case CEPH_MSG_WATCH_NOTIFY:
|
case CEPH_MSG_WATCH_NOTIFY:
|
||||||
handle_watch_notify(osdc, msg);
|
handle_watch_notify(osdc, msg);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче