When building v3.11-rc3, I get the following warning:
...
net/9p/trans_rdma.c:594: warning: ‘rdma_cancelled’ defined but not used
...
As the function is not be used, so remove it.
Signed-off-by: Xishi Qiu <redacted>
---
net/9p/trans_rdma.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
@@ -588,17 +588,6 @@ static int rdma_cancel(struct p9_client *client, struct p9_req_t *req)return1;}-/* A request has been fully flushed without a reply.-*Thatmeanswehavepostedonebufferinexcess.-*/-staticintrdma_cancelled(structp9_client*client,structp9_req_t*req)-{-structp9_trans_rdma*rdma=client->trans;--atomic_inc(&rdma->excess_rc);-return0;-}-/***trans_create_rdma-Transportmethodforcreatingatransportinstance*@client:clientinstance
From: Daniel Baluta <hidden> Date: 2013-07-30 09:27:48
On Tue, Jul 30, 2013 at 12:15 PM, Xishi Qiu [off-list ref] wrote:
quoted hunk
When building v3.11-rc3, I get the following warning:
...
net/9p/trans_rdma.c:594: warning: ‘rdma_cancelled’ defined but not used
...
As the function is not be used, so remove it.
Signed-off-by: Xishi Qiu <redacted>
---
net/9p/trans_rdma.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
@@ -588,17 +588,6 @@ static int rdma_cancel(struct p9_client *client, struct p9_req_t *req)return1;}-/* A request has been fully flushed without a reply.-*Thatmeanswehavepostedonebufferinexcess.-*/-staticintrdma_cancelled(structp9_client*client,structp9_req_t*req)-{-structp9_trans_rdma*rdma=client->trans;--atomic_inc(&rdma->excess_rc);-return0;-}-/***trans_create_rdma-Transportmethodforcreatingatransportinstance*@client:clientinstance