summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-vlan.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-19 18:35:32 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-19 21:56:54 +0100
commitfdb90ac6a6f3320a33104951e0c8505df901cc4f (patch)
tree99ac22556a9d124a442672380c47a16e78af5cc0 /src/network/networkd-netdev-vlan.h
parent3abaabdab73bd0f3e4f68284dc3cb00902b8e1c6 (diff)
networkd: optimize link_node_enumerator() a bit
strv_consume() is pretty expensive when invoked piecemeal, hence optimize it a bit by pre-allocating a properly sized array.
Diffstat (limited to 'src/network/networkd-netdev-vlan.h')
0 files changed, 0 insertions, 0 deletions