Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754321Ab3GYGsV (ORCPT ); Thu, 25 Jul 2013 02:48:21 -0400 Received: from nautica.notk.org ([91.121.71.147]:34879 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751745Ab3GYGsT (ORCPT ); Thu, 25 Jul 2013 02:48:19 -0400 Date: Thu, 25 Jul 2013 08:48:02 +0200 From: Dominique Martinet To: David Miller Cc: pebolle@tiscali.nl, lucho@ionkov.net, ericvh@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andi@etezian.org, v9fs-developer@lists.sourceforge.net, rminnich@sandia.gov Subject: Re: [V9fs-developer] [PATCH] net: trans_rdma: remove unused function Message-ID: <20130725064802.GA12569@nautica> References: <1374497956-32104-1-git-send-email-andi@etezian.org> <20130724.154646.2283898956674234778.davem@davemloft.net> <1374707387.29835.23.camel@x61.thuisdomein> <20130724.164514.393667021861625699.davem@davemloft.net> <20130725061411.GA8579@nautica> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130725061411.GA8579@nautica> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1186 Lines: 29 Hard morning, sorry for the double mail. Dominique Martinet wrote on Thu, Jul 25, 2013 : > 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. To be more precise, there's a single call to c->trans_mode->cancelled in net/9p/client.c, in p9_client_flush, which is called on subfunction returning -ERESTARTSYS... which never happens as far as I could see. This will be useful once/if we start working on client recovery, though - so the function in itself definitely does interest me, and I guess that thinking about I would have preferred to have the hook added rather than the function removed. But there definitely is no hurry to add this cancelled function till then. Regards, -- Dominique Martinet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/