Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752297AbcDOX7u (ORCPT ); Fri, 15 Apr 2016 19:59:50 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:58181 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbcDOX7t (ORCPT ); Fri, 15 Apr 2016 19:59:49 -0400 Date: Sat, 16 Apr 2016 01:59:42 +0200 From: Andrew Lunn To: Vivien Didelot Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli Subject: Re: [PATCH net-next v2 5/7] net: dsa: mv88e6xxx: add number of ports to info Message-ID: <20160415235942.GE32136@lunn.ch> References: <1460762488-2633-1-git-send-email-vivien.didelot@savoirfairelinux.com> <1460762488-2633-6-git-send-email-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460762488-2633-6-git-send-email-vivien.didelot@savoirfairelinux.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 322 Lines: 10 On Fri, Apr 15, 2016 at 07:21:26PM -0400, Vivien Didelot wrote: > Drop the ps->num_ports variable for a new member of the info structure. > This removes the need to assign it at setup time. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Thanks Andrew