[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070724233007.GW21668@ftp.linux.org.uk>
Date: Wed, 25 Jul 2007 00:30:07 +0100
From: Al Viro <viro@....linux.org.uk>
To: Brandon Philips <bphilips@...e.de>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2][RFC] Update net core to use devres.
On Tue, Jul 24, 2007 at 04:26:21PM -0700, Brandon Philips wrote:
> Could you point me to an example you have in mind?
>
> I quickly searched through a handful of the PCI device drivers and
> couldn't find an example where the .remove function didn't do something
> to the tune of:
>
> unregister_netdev(dev);
> ... various un-allocs and cleanup ...
> free_netdev(dev)
Now find the definition of free_netdev() and read it through, please.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists