keys: Remove unused extern declarations
authorYueHaibing <yuehaibing@huawei.com>
Sat, 29 Jul 2023 02:40:26 +0000 (10:40 +0800)
committerJarkko Sakkinen <jarkko@kernel.org>
Tue, 24 Oct 2023 00:16:52 +0000 (03:16 +0300)
commit03acb9ccec3f8cbcc0ed93c188b7a119ef30ef64
tree4ea0317e1de7d908d7a92fb847315e692bf3ff47
parent3edc22655647378dea01900f7b04e017ff96bda9
keys: Remove unused extern declarations

Since commit b2a4df200d57 ("KEYS: Expand the capacity of a keyring")
iterate_over_keyring() is never used, so can be removed.

And commit b5f545c880a2 ("[PATCH] keys: Permit running process to instantiate keys")
left behind keyring_search_instkey().

Fixes: b2a4df200d57 ("KEYS: Expand the capacity of a keyring")
Fixes: b5f545c880a2 ("[PATCH] keys: Permit running process to instantiate keys")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
security/keys/internal.h