python: Remove Python 2.4 compat macro
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Oct 2017 03:46:19 +0000 (16:46 +1300)
committerGarming Sam <garming@samba.org>
Mon, 20 Nov 2017 20:41:15 +0000 (21:41 +0100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
libgpo/pygpo.c

index 09e03af9650214263cb0ba442819cbff0ffba152..28f41f754b8c7fd0072bafcb0083628cd1e8564c 100644 (file)
 
 /* A Python C API module to use LIBGPO */
 
-#ifndef Py_RETURN_NONE
-#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
-#endif
-
 typedef struct {
        PyObject_HEAD
        TALLOC_CTX *frame;