]> err.no Git - linux-2.6/blobdiff - mm/util.c
PTRACE_PEEKDATA consolidation
[linux-2.6] / mm / util.c
index f2f21b7755169b562d5dee3eb64d4d1e61f370c3..78f3783bdcc810d2c70e77071f4f2d27665da1fe 100644 (file)
--- a/mm/util.c
+++ b/mm/util.c
@@ -5,20 +5,6 @@
 #include <asm/uaccess.h>
 
 /**
- * __kzalloc - allocate memory. The memory is set to zero.
- * @size: how many bytes of memory are required.
- * @flags: the type of memory to allocate.
- */
-void *__kzalloc(size_t size, gfp_t flags)
-{
-       void *ret = kmalloc_track_caller(size, flags);
-       if (ret)
-               memset(ret, 0, size);
-       return ret;
-}
-EXPORT_SYMBOL(__kzalloc);
-
-/*
  * kstrdup - allocate space for and copy an existing string
  *
  * @s: the string to duplicate