]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/m_ematch.c
Use C99 style initializers everywhere
[mirror_iproute2.git] / tc / m_ematch.c
index 251f5aa19f62709ea4e027419f2fe671e5cd53d3..e18a395b048e6f2bf23c5d0defe9522b3d72c00d 100644 (file)
@@ -177,9 +177,7 @@ static int parse_tree(struct nlmsghdr *n, struct ematch *tree)
 
        for (t = tree; t; t = t->next) {
                struct rtattr *tail = NLMSG_TAIL(n);
-               struct tcf_ematch_hdr hdr = {
-                       .flags = t->relation
-               };
+               struct tcf_ematch_hdr hdr = { .flags = t->relation };
 
                if (t->inverted)
                        hdr.flags |= TCF_EM_INVERT;