From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4BD806E7.7010806@redhat.com> Date: Wed, 28 Apr 2010 17:59:03 +0800 From: Cong Wang MIME-Version: 1.0 References: <20100427075937.4908.18468.sendpatchset@localhost.localdomain> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] [v4 Patch 1/3] netpoll: add generic support for bridge and bonding devices List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dongdong Deng Cc: Jay Vosburgh , Neil Horman , netdev@vger.kernel.org, Matt Mackall , bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org, David Miller , Jeff Moyer , Andy Gospodarek , bonding-devel@lists.sourceforge.net Dongdong Deng wrote: > > > + if (ops->ndo_netpoll_cleanup) > + ops->ndo_netpoll_cleanup(np->dev); > + np->dev->npinfo = NULL; > > I think it is good to set np->dev->npinfo to NULL even though we have > the netpoll_cleanup opt. > This is redundant, since ->ndo_netpoll_cleanup will set it. Thanks.