Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1706991
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports |
| Date | 2017-08-09 03:20 +0200 |
| Message-ID | <ucnPc-8h8-11@gated-at.bofh.it> (permalink) |
| References | <ubYH8-6KG-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Egil Hjelmeland <privat@egil-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@egil-hjelmeland.no> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next] net: dsa: lan9303: Only allocate 3 ports Egil Hjelmeland <privat@egil-hjelmeland.no> - 2017-08-08 00:30 +0200 Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports Florian Fainelli <f.fainelli@gmail.com> - 2017-08-08 00:30 +0200 Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-08-08 01:20 +0200 Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports David Miller <davem@davemloft.net> - 2017-08-09 03:20 +0200
csiph-web