Fix build. Remove superfluous check triggering compiler error.
(cherry picked from commit fc0f94a75c7a6d16ea9e327092f132a0d2c9175e)
Change-Id: I0366eb3882948d77a8be2d5d32169a13f412ad4e
diff --git a/clatd.c b/clatd.c
index 7b8e43f..d8a9e72 100644
--- a/clatd.c
+++ b/clatd.c
@@ -418,7 +418,7 @@
if (net_id_str != NULL) {
char *end_ptr;
net_id = strtoul(net_id_str, &end_ptr, 0);
- if (net_id == ULONG_MAX || *net_id_str == 0 || *end_ptr != 0) {
+ if (*net_id_str == 0 || *end_ptr != 0) {
logmsg(ANDROID_LOG_FATAL, "clatd called with invalid NetID %s", net_id_str);
exit(1);
}