lkml.org 
[lkml]   [2010]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [v4 Patch 1/3] netpoll: add generic support for bridge and bonding devices
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.


\
 
 \ /
  Last update: 2010-04-28 15:25    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site