]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsocket: Drop unused #include and #define
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 2 Feb 2024 11:49:22 +0000 (12:49 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 2 Feb 2024 15:01:06 +0000 (16:01 +0100)
Inside of virsocket.c there is an include of poll.h and
PKT_TIMEOUT_MS macro definition. Neither of these is really
needed and in fact it's a leftover after I reworked one of
previously merged commits during review.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virsocket.c

index 3b274a4eec463618eb955876a2a25b43a6e174d9..a4c646e759979836aeec63f60307847ead4162cc 100644 (file)
@@ -26,9 +26,6 @@
 #include "virlog.h"
 
 #include <fcntl.h>
-#include <poll.h>
-
-#define PKT_TIMEOUT_MS 500 /* ms */
 
 #define VIR_FROM_THIS VIR_FROM_NONE