Re: [V9fs-developer] [PATCH] net: trans_rdma: remove unusedfunction
From: Dominique Martinet
Date: Thu Jul 25 2013 - 02:20:57 EST
David Miller wrote on Wed, Jul 24, 2013 :
> From: Paul Bolle <pebolle@xxxxxxxxxx>
> Date: Thu, 25 Jul 2013 01:09:47 +0200
> > 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.
Well, I do care - but I couldn't find where the trans->cancelled member
function was supposed to be called anyway...
So adding it to the struct and fixing the warning is well and fine, but
if it's still never called in the end I don't see much point and there's
nothing to test.
It's on my loooong todo list of things to look at, but as no other reply
came and the patch was never picked up it kind of dropped in priority.
I'll have another look next week
I guess the worst that could happen would be submitting the
rdma_cancelled function again when this is sorted out :)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/