From: David Miller Subject: Re: [PATCH 1/2] net: ethernet: smsc: smsc911x: use phydev from struct net_device Date: Mon, 04 Jul 2016 16:01:28 -0700 (PDT) Message-ID: <20160704.160128.590853596713430067.davem@davemloft.net> References: <1467501261-8839-1-git-send-email-tremyfr@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: steve.glendinning@shawell.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: tremyfr@gmail.com Return-path: In-Reply-To: <1467501261-8839-1-git-send-email-tremyfr@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Philippe Reynes Date: Sun, 3 Jul 2016 01:14:20 +0200 > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phy in the private structure, and update the driver to use the > one contained in struct net_device. > > Signed-off-by: Philippe Reynes Applied.