[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170811155908.04d9eb4c@xeon-e3>
Date: Fri, 11 Aug 2017 15:59:08 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: <Bryan.Whitehead@...rochip.com>
Cc: <netdev@...r.kernel.org>, <davem@...emloft.net>,
<UNGLinuxDriver@...rochip.com>
Subject: Re: [PATCH net-next 1/3] Add LAN743X driver
On Fri, 11 Aug 2017 19:47:57 +0000
<Bryan.Whitehead@...rochip.com> wrote:
> +static void lan743x_pcidev_remove(struct pci_dev *pdev)
> +{
> + struct net_device *netdev = NULL;
> + struct lan743x_adapter *adapter = NULL;
> +
> + netdev = pci_get_drvdata(pdev);
> + adapter = netdev_priv(netdev);
Useless double initialization
Powered by blists - more mailing lists