s4:Remove "Py_RETURN_NONE" compatibility code
[metze/samba-autobuild/.git] / source4 / param / pyparam.c
index b4255002d27abac055425ca5b7b76f501ca69060..4b534fbb417c6e380ca8cd62cc99cde457e6a0e6 100644 (file)
@@ -29,10 +29,6 @@ typedef int Py_ssize_t;
 typedef inquiry lenfunc;
 #endif
 
-#ifndef Py_RETURN_NONE
-#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
-#endif
-
 #define PyLoadparmContext_AsLoadparmContext(obj) py_talloc_get_type(obj, struct loadparm_context)
 
 PyAPI_DATA(PyTypeObject) PyLoadparmContext;