aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-01-23 19:22:47 +0100
committerThomas Huth <thuth@redhat.com>2024-01-24 09:54:05 +0100
commite7b991451eecb58af34d6d3d17209e97f5e97f96 (patch)
tree0e1ed2c26c9b2697d652ec90aeeeb19c1ebdae72
parent8fd466737c698a554ed04bc0b5459350e3a4c9b0 (diff)
downloadqemu-e7b991451eecb58af34d6d3d17209e97f5e97f96.zip
qemu-e7b991451eecb58af34d6d3d17209e97f5e97f96.tar.gz
qemu-e7b991451eecb58af34d6d3d17209e97f5e97f96.tar.bz2
util/uri: Remove unused macros ISA_RESERVED() and ISA_GEN_DELIM()
They are not used anywhere, so there's no need to keep them around. Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com> Message-ID: <20240123182247.432642-5-thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--util/uri.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/util/uri.c b/util/uri.c
index 350835b..573174b 100644
--- a/util/uri.c
+++ b/util/uri.c
@@ -164,19 +164,6 @@ static void uri_clean(URI *uri);
((*(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 / "-" / "." / "_" / "~"
*/
#define ISA_UNRESERVED(p) \