Thread (4 messages) 4 messages, 4 authors, 2017-08-09

Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports

flat view

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2017-08-07 22:27:31
Also in: lkml

On 08/07/2017 03:22 PM, Egil Hjelmeland wrote:
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 <redacted>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help