[PATCH] Remove the deprecated "kmem_cache_t" typedef from slab.h.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Given that there is no remaining usage of the deprecated kmem_cache_t
typedef anywhere in the tree, remove that typedef.

Signed-off-by: Robert P. J. Day <[email protected]>

---

this removal will, of course, break out-of-tree usage but this typedef
has been deprecated since Dec of 2006 (commit
1b1cec4bbc59feac89670d5d6d222a02545bac94) and since this won't go in
until 2.6.22, is six months enough time for constant build warnings to
convince people to stop using deprecated features?  :-)

diff --git a/include/linux/slab.h b/include/linux/slab.h
index a015236..fc13cef 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -14,8 +14,6 @@
 #include <linux/gfp.h>
 #include <linux/types.h>

-typedef struct kmem_cache kmem_cache_t __deprecated;
-
 /*
  * Flags to pass to kmem_cache_create().
  * The ones marked DEBUG are only valid if CONFIG_SLAB_DEBUG is set.


 --
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux