This pointer is in a register anyway, so let's use that instead of reloading from memory everywhere. [ idryomov: formatting ]
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -555,7 +555,7 @@ struct ceph_msg *ceph_con_get_out_msg(struct ceph_connection *con); · 554 unmodified lines | ||
| 555 | 555 | /* messenger_v1.c */ |
| 556 | 556 | int ceph_con_v1_try_read(struct ceph_connection *con); |
| 557 | 557 | int ceph_con_v1_try_write(struct ceph_connection *con); |
| 558 | −void ceph_con_v1_revoke(struct ceph_connection *con); | |
| 558 | +void ceph_con_v1_revoke(struct ceph_connection *con, struct ceph_msg *msg); | |
| 559 | 559 | void ceph_con_v1_revoke_incoming(struct ceph_connection *con); |
| 560 | 560 | bool ceph_con_v1_opened(struct ceph_connection *con); |
| 561 | 561 | void ceph_con_v1_reset_session(struct ceph_connection *con); |
| @@ -564,7 +564,7 @@ void ceph_con_v1_reset_protocol(struct ceph_connection *con); · 2 unmodified lines | ||
| 564 | 564 | /* messenger_v2.c */ |
| 565 | 565 | int ceph_con_v2_try_read(struct ceph_connection *con); |
| 566 | 566 | int ceph_con_v2_try_write(struct ceph_connection *con); |
| 567 | −void ceph_con_v2_revoke(struct ceph_connection *con); | |
| 567 | +void ceph_con_v2_revoke(struct ceph_connection *con, struct ceph_msg *msg); | |
| 568 | 568 | void ceph_con_v2_revoke_incoming(struct ceph_connection *con); |
| 569 | 569 | bool ceph_con_v2_opened(struct ceph_connection *con); |
| 570 | 570 | void ceph_con_v2_reset_session(struct ceph_connection *con); |