Removed unused variable
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index c060dcd..e1f1a4e 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -4334,7 +4334,7 @@
 PyMODINIT_FUNC
 init_socket(void)
 {
-	PyObject *m, *has_ipv6, *tmp;
+	PyObject *m, *has_ipv6;
 
 	if (!os_init())
 		return;