]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: unify clockid handling
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 19 Jan 2024 16:38:58 +0000 (08:38 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 19 Jan 2024 16:38:58 +0000 (08:38 -0800)
commit91cca2aee76bb00ad81ce94da4d7e60670512fa3
tree9a3a0f122fbf1e2ec4cbabc9249b5276dab2a0d1
parenta10e05ad35ade0a42d08512e7d2e09a769bf1ad9
tc: unify clockid handling

There are three places in tc which all have same code for
handling clockid (copy/paste). Move it into tc_util.c.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/m_gate.c
tc/q_etf.c
tc/q_taprio.c
tc/tc_util.c
tc/tc_util.h