From: Andreas Rammhold Date: Thu, 14 May 2020 17:23:33 +0000 (+0200) Subject: sd-netlink: remove unused RTNL_WQUEUE_MAX define X-Git-Tag: v246-rc1~365 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fcf399bfe7ff6e08ace48106567f8848a1b6e0;p=thirdparty%2Fsystemd.git sd-netlink: remove unused RTNL_WQUEUE_MAX define 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. --- diff --git a/src/libsystemd/sd-netlink/netlink-internal.h b/src/libsystemd/sd-netlink/netlink-internal.h index 93f495f2593..b14ce435eef 100644 --- a/src/libsystemd/sd-netlink/netlink-internal.h +++ b/src/libsystemd/sd-netlink/netlink-internal.h @@ -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