diff options
author | Phil Sutter <phil@nwl.cc> | 2016-07-18 16:48:41 +0200 |
---|---|---|
committer | Stephen Hemminger <shemming@brocade.com> | 2016-07-20 12:05:24 -0700 |
commit | d892aaf7400ac410864ab03b48891e34206b1307 (patch) | |
tree | b8dd55fd87112777f71e07d44e060108f197e362 /misc/arpd.c | |
parent | 52a598698052773857a2ca590b81940367774fce (diff) | |
download | platform_external_iproute2-d892aaf7400ac410864ab03b48891e34206b1307.tar.gz platform_external_iproute2-d892aaf7400ac410864ab03b48891e34206b1307.tar.bz2 platform_external_iproute2-d892aaf7400ac410864ab03b48891e34206b1307.zip |
tc: m_action: Improve conversion to C99 style initializers
This improves my initial change in the following points:
- Flatten embedded struct's initializers.
- No need to initialize variables to zero as the key feature of C99
initializers is to do this implicitly.
- By relocating the declaration of struct rtattr *tail, it can be
initialized at the same time.
Fixes: a0a73b298a579 ("tc: m_action: Use C99 style initializers for struct req")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
Diffstat (limited to 'misc/arpd.c')
0 files changed, 0 insertions, 0 deletions