diff --git a/sys/libkern/strtouq.c b/sys/libkern/strtouq.c
index 4ed72a18f29e..5877396023fd 100644
--- a/sys/libkern/strtouq.c
+++ b/sys/libkern/strtouq.c
@@ -56,7 +56,6 @@ strtouq(const char *nptr, char **endptr, int base)
 	/*
 	 * See strtoq for comments as to the logic used.
 	 */
-	s = nptr;
 	do {
 		c = *s++;
 	} while (isspace(c));