]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-netlink: remove unused RTNL_WQUEUE_MAX define
authorAndreas Rammhold <andreas@rammhold.de>
Thu, 14 May 2020 17:23:33 +0000 (19:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 14 May 2020 20:27:03 +0000 (22:27 +0200)
While investigating why some of my netlink calls would timeout I
stumbled upon the definition of the max write queue length. Finding this
constant made me believe we still had a write queue in the code - which
isn't true. The netlink write queue code was removed in #189.

src/libsystemd/sd-netlink/netlink-internal.h

index 93f495f2593b3b013428efdbe6ed9165366d27d0..b14ce435eefb10e74ce2c19073e8c6a2b5b9c282 100644 (file)
@@ -12,7 +12,6 @@
 
 #define RTNL_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC))
 
-#define RTNL_WQUEUE_MAX 1024
 #define RTNL_RQUEUE_MAX 64*1024
 
 #define RTNL_CONTAINER_DEPTH 32