diff options
author | Eric Biggers <ebiggers@google.com> | 2020-10-24 01:27:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-25 19:39:02 +0100 |
commit | 23224e45004ed84c8466fd1e8e5860f541187029 (patch) | |
tree | 041b0e0930500476e0cb17ea0d395b91704cc91b /include | |
parent | checkpatch: enable GIT_DIR environment use to set git repository location (diff) | |
download | linux-23224e45004ed84c8466fd1e8e5860f541187029.tar.xz linux-23224e45004ed84c8466fd1e8e5860f541187029.zip |
mm: remove kzfree() compatibility definition
Commit 453431a54934 ("mm, treewide: rename kzfree() to
kfree_sensitive()") renamed kzfree() to kfree_sensitive(),
but it left a compatibility definition of kzfree() to avoid
being too disruptive.
Since then a few more instances of kzfree() have slipped in.
Just get rid of them and remove the compatibility definition
once and for all.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/slab.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h index 9e155cc83b8a..dd6897f62010 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -187,8 +187,6 @@ void kfree_sensitive(const void *); size_t __ksize(const void *); size_t ksize(const void *); -#define kzfree(x) kfree_sensitive(x) /* For backward compatibility */ - #ifdef CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR void __check_heap_object(const void *ptr, unsigned long n, struct page *page, bool to_user); |