projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'notifications-20200601' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/kernel/linux-rpi.git]
/
security
/
keys
/
internal.h
diff --git
a/security/keys/internal.h
b/security/keys/internal.h
index
1fc17cb
..
338a526
100644
(file)
--- a/
security/keys/internal.h
+++ b/
security/keys/internal.h
@@
-378,15
+378,4
@@
static inline void key_check(const struct key *key)
#define key_check(key) do {} while(0)
#endif
#define key_check(key) do {} while(0)
#endif
-
-/*
- * Helper function to clear and free a kvmalloc'ed memory object.
- */
-static inline void __kvzfree(const void *addr, size_t len)
-{
- if (addr) {
- memset((void *)addr, 0, len);
- kvfree(addr);
- }
-}
#endif /* _INTERNAL_H */
#endif /* _INTERNAL_H */