s3: Remove some unused code
authorVolker Lendecke <vl@samba.org>
Tue, 15 May 2012 11:37:25 +0000 (13:37 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 15 May 2012 14:29:12 +0000 (16:29 +0200)
source3/lib/util_malloc.c

index faff9b03db9c749e27c835841a9b0d8af23e0c44..ff78db65003782b3c9c2f387bbb3a9f9a3994581 100644 (file)
@@ -39,20 +39,6 @@ void *malloc_(size_t size)
 #define malloc(s) __ERROR_DONT_USE_MALLOC_DIRECTLY
 }
 
-/****************************************************************************
- Internal calloc wrapper. Not externally visible.
-****************************************************************************/
-
-static void *calloc_(size_t count, size_t size)
-{
-       if (size == 0 || count == 0) {
-               return NULL;
-       }
-#undef calloc
-       return calloc(count, size);
-#define calloc(n,s) __ERROR_DONT_USE_CALLOC_DIRECTLY
-}
-
 /****************************************************************************
  Internal realloc wrapper. Not externally visible.
 ****************************************************************************/