]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/m_action.c
tc: m_action: Use C99 style initializers for struct req
authorPhil Sutter <phil@nwl.cc>
Wed, 15 Jun 2016 22:50:38 +0000 (00:50 +0200)
committerStephen Hemminger <shemming@brocade.com>
Thu, 16 Jun 2016 16:41:55 +0000 (09:41 -0700)
commita0a73b298a579c4dd3a342eded419304d29ab60a
tree5927bf9c195dd56d3b5f8cd245db0ce003a9a564
parent9b32f89693ef030785196987c29e3ebb2632834b
tc: m_action: Use C99 style initializers for struct req

Instead of initializing fields after (or sometimes even before) zeroing
the whole struct via memset(), initialize the whole thing at declaration
time.

Signed-off-by: Phil Sutter <phil@nwl.cc>
tc/m_action.c