Messages in this thread |  | | From | Vivien Didelot <> | Subject | Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports | Date | Mon, 07 Aug 2017 19:10:39 -0400 |
| |
Egil Hjelmeland <privat@egil-hjelmeland.no> writes:
> 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@egil-hjelmeland.no>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
|  |