Re: [PATCH] net: trans_rdma: remove unused function

From: David Miller
Date: Wed Jul 24 2013 - 19:45:28 EST


From: Paul Bolle <pebolle@xxxxxxxxxx>
Date: Thu, 25 Jul 2013 01:09:47 +0200

> On Wed, 2013-07-24 at 15:46 -0700, David Miller wrote:
>> From: Andi Shyti <andi@xxxxxxxxxxx>
>> > This patch gets rid of the following warning:
>> >
>> > net/9p/trans_rdma.c:594:12: warning: ʽrdma_cancelledʼ defined but not used [-Wunused-function]
>> > static int rdma_cancelled(struct p9_client *client, struct p9_req_t *req)
>> >
>> > The rdma_cancelled function is not called anywhere in the kernel
>> >
>> > Signed-off-by: Andi Shyti <andi@xxxxxxxxxxx>
>>
>> Applied to net-next, thanks.
>
> After this patch one might as well revert the rest of commit
> 80b45261a0b2 ("9P: Add cancelled() to the transport functions.") too. It
> seems the entire cancelled callback stuff is now pointless.
>
> As I already asked in https://lkml.org/lkml/2013/7/15/87 : did that
> commit "forget to actually hook up rdma_cancelled() into
> p9_rdma_trans()?". It does look so to me.

If nobody responds to this in the next day or so, feel free to send me
a patch which rips it all out.

No response means they don't care, and neither, therefore, should we.

Thanks.
N?§²ζμrΈ?yϊθ?Ψb²X¬ΆΗ§vΨ^?)ήΊ{.nΗ+?·??{±?κηzX§Ά?ʽά¨}©?²Ζ zΪ&j:+v?¨Ύ«?κηzZ+?Κ+zf£ʼ·h??§~?­?Ϋi?ϋΰzΉ?w?ʼΈ??¨θ­Ϊ&ʼ)ίʼf?ω^jΗ«y§m?α@A«aΆΪ? 0Άμh?ε?i