Remove useless test (flowinfo is unsigned).
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 320227f..338622d 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -1347,7 +1347,7 @@
"getsockaddrarg: port must be 0-65535.");
return 0;
}
- if (flowinfo < 0 || flowinfo > 0xfffff) {
+ if (flowinfo > 0xfffff) {
PyErr_SetString(
PyExc_OverflowError,
"getsockaddrarg: flowinfo must be 0-1048575.");
@@ -4129,7 +4129,7 @@
if (!PyArg_ParseTuple(sa, "si|II",
&hostp, &port, &flowinfo, &scope_id))
return NULL;
- if (flowinfo < 0 || flowinfo > 0xfffff) {
+ if (flowinfo > 0xfffff) {
PyErr_SetString(PyExc_OverflowError,
"getsockaddrarg: flowinfo must be 0-1048575.");
return NULL;