From 8067751a461e4a1c8cdf52f99d3a40a78d10a259 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 4 Jul 2024 20:57:02 +0200 Subject: [PATCH] tools/nut-scanner/nut-scanner.c: drop unused DEFAULT_TIMEOUT macro [#2244] We actually use DEFAULT_NETWORK_TIMEOUT from common.h same as in clients/upsclient.c Signed-off-by: Jim Klimov --- tools/nut-scanner/nut-scanner.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/nut-scanner/nut-scanner.c b/tools/nut-scanner/nut-scanner.c index f40a52f8d2..5bcc2ec340 100644 --- a/tools/nut-scanner/nut-scanner.c +++ b/tools/nut-scanner/nut-scanner.c @@ -59,8 +59,6 @@ #include "nut-scan.h" -#define DEFAULT_TIMEOUT 5 - #define ERR_BAD_OPTION (-1) static const char optstring[] = "?ht:T:s:e:E:c:l:u:W:X:w:x:p:b:B:d:L:CUSMOAm:QnNPqIVaD";