[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170808.181418.2139412071619210859.davem@davemloft.net>
Date: Tue, 08 Aug 2017 18:14:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: privat@...l-hjelmeland.no
Cc: andrew@...n.ch, vivien.didelot@...oirfairelinux.com,
f.fainelli@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports
From: Egil Hjelmeland <privat@...l-hjelmeland.no>
Date: Tue, 8 Aug 2017 00:22:21 +0200
> Save 2628 bytes on arm eabi by allocate only the required 3 ports.
>
> Now that ds->num_ports is correct: In net/dsa/tag_lan9303.c
> eliminate duplicate LAN9303_MAX_PORTS, use ds->num_ports.
> (Matching the pattern of other net/dsa/tag_xxx.c files.)
>
> Signed-off-by: Egil Hjelmeland <privat@...l-hjelmeland.no>
Applied.
Powered by blists - more mailing lists