From e7b991451eecb58af34d6d3d17209e97f5e97f96 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Tue, 23 Jan 2024 19:22:47 +0100 Subject: [PATCH] util/uri: Remove unused macros ISA_RESERVED() and ISA_GEN_DELIM() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They are not used anywhere, so there's no need to keep them around. Reviewed-by: Stefan Weil Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: "Daniel P. Berrangé" Message-ID: <20240123182247.432642-5-thuth@redhat.com> Reviewed-by: Richard Henderson Signed-off-by: Thomas Huth --- util/uri.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/util/uri.c b/util/uri.c index 350835b03f..573174bf47 100644 --- a/util/uri.c +++ b/util/uri.c @@ -163,19 +163,6 @@ static void uri_clean(URI *uri); ((*(p) == '+')) || ((*(p) == ',')) || ((*(p) == ';')) || \ ((*(p) == '=')) || ((*(p) == '\''))) -/* - * gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@" - */ -#define ISA_GEN_DELIM(p) \ - (((*(p) == ':')) || ((*(p) == '/')) || ((*(p) == '?')) || \ - ((*(p) == '#')) || ((*(p) == '[')) || ((*(p) == ']')) || \ - ((*(p) == '@'))) - -/* - * reserved = gen-delims / sub-delims - */ -#define ISA_RESERVED(p) (ISA_GEN_DELIM(p) || (ISA_SUB_DELIM(p))) - /* * unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" */