Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752648AbcJLFlX (ORCPT ); Wed, 12 Oct 2016 01:41:23 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:36534 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752097AbcJLFlS (ORCPT ); Wed, 12 Oct 2016 01:41:18 -0400 Date: Wed, 12 Oct 2016 01:40:56 -0400 (EDT) Message-Id: <20161012.014056.252399120931987245.davem@davemloft.net> To: tremyfr@gmail.com Cc: sebastian.hesselbarth@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] net: mv643xx_eth: use phydev from struct net_device From: David Miller In-Reply-To: <1475402809-11593-1-git-send-email-tremyfr@gmail.com> References: <1475402809-11593-1-git-send-email-tremyfr@gmail.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 11 Oct 2016 22:41:13 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 396 Lines: 11 From: Philippe Reynes Date: Sun, 2 Oct 2016 12:06:48 +0200 > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phydev in the private structure, and update the driver to use the > one contained in struct net_device. > > Signed-off-by: Philippe Reynes Applied.