1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/3com
Colin Ian King 771edeabcb net: 3c509: make the array if_names static const, makes object smaller
Don't populate the array if_names on the stack but instead it
static const. Makes the object code smaller by 99 bytes.

Before:
   text    data     bss     dec     hex filename
  27886   10752     672   39310    998e ./drivers/net/ethernet/3com/3c509.o

After:
   text    data     bss     dec     hex filename
  27723   10816     672   39211    992b ./drivers/net/ethernet/3com/3c509.o

(gcc version 10.2.0)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210801152650.146572-1-colin.king@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-08-02 15:02:04 -07:00
..
3c59x.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
3c509.c net: 3c509: make the array if_names static const, makes object smaller 2021-08-02 15:02:04 -07:00
3c515.c drivers: Remove inclusion of vermagic header 2020-04-21 13:27:37 -07:00
3c574_cs.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
3c589_cs.c net/3com: Delete driver and module versions from 3com drivers 2020-02-24 11:23:36 -08:00
Kconfig docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
typhoon.c networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
typhoon.h net: typhoon: Fix a typo Typoon --> Typhoon 2020-10-03 17:23:02 -07:00