summaryrefslogtreecommitdiff
path: root/include/linux/kmemleak.h
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2014-04-04 01:46:28 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 03:20:50 +0400
commit5f3bf19aeb8ed5cef0926bc10c80b6a50ac6bdeb (patch)
tree95f86bb624bc93348564911d93b85fc07bf50f94 /include/linux/kmemleak.h
parentc89da70c7360294e715df5abd4b7239db3274c86 (diff)
downloadlinux-5f3bf19aeb8ed5cef0926bc10c80b6a50ac6bdeb.tar.xz
kmemleak: remove redundant code
Remove kmemleak_padding() and kmemleak_release(). Signed-off-by: Li Zefan <lizefan@huawei.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kmemleak.h')
-rw-r--r--include/linux/kmemleak.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/kmemleak.h b/include/linux/kmemleak.h
index 2a5e5548a1d2..5bb424659c04 100644
--- a/include/linux/kmemleak.h
+++ b/include/linux/kmemleak.h
@@ -30,8 +30,6 @@ extern void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size) __ref;
extern void kmemleak_free(const void *ptr) __ref;
extern void kmemleak_free_part(const void *ptr, size_t size) __ref;
extern void kmemleak_free_percpu(const void __percpu *ptr) __ref;
-extern void kmemleak_padding(const void *ptr, unsigned long offset,
- size_t size) __ref;
extern void kmemleak_not_leak(const void *ptr) __ref;
extern void kmemleak_ignore(const void *ptr) __ref;
extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref;