Remove unneeded casts to hashfunc.
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 88478f3..0f45525 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -2596,7 +2596,7 @@
     0,                                          /* tp_as_number */
     &list_as_sequence,                          /* tp_as_sequence */
     &list_as_mapping,                           /* tp_as_mapping */
-    (hashfunc)PyObject_HashNotImplemented,      /* tp_hash */
+    PyObject_HashNotImplemented,                /* tp_hash */
     0,                                          /* tp_call */
     0,                                          /* tp_str */
     PyObject_GenericGetAttr,                    /* tp_getattro */