From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751690AbcFSU51 (ORCPT ); Sun, 19 Jun 2016 16:57:27 -0400 Received: from mail-ob0-f194.google.com ([209.85.214.194]:36646 "EHLO mail-ob0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751364AbcFSU5T (ORCPT ); Sun, 19 Jun 2016 16:57:19 -0400 Subject: Re: [PATCH 1/2] net: ethernet: bcmsysport: use phydev from struct net_device To: Philippe Reynes , davem@davemloft.net References: <1466361549-6291-1-git-send-email-tremyfr@gmail.com> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org From: Florian Fainelli Message-ID: <57670700.5020502@gmail.com> Date: Sun, 19 Jun 2016 13:56:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1466361549-6291-1-git-send-email-tremyfr@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 19/06/2016 11:39, Philippe Reynes a écrit : > 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 Reviewed-by: Florian Fainelli -- Florian