mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
keys: Remove unused extern declarations
Since commitb2a4df200d
("KEYS: Expand the capacity of a keyring") iterate_over_keyring() is never used, so can be removed. And commitb5f545c880
("[PATCH] keys: Permit running process to instantiate keys") left behind keyring_search_instkey(). Fixes:b2a4df200d
("KEYS: Expand the capacity of a keyring") Fixes:b5f545c880
("[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>
This commit is contained in:
parent
3edc226556
commit
03acb9ccec
@ -109,13 +109,6 @@ extern void __key_link_end(struct key *keyring,
|
||||
extern key_ref_t find_key_to_update(key_ref_t keyring_ref,
|
||||
const struct keyring_index_key *index_key);
|
||||
|
||||
extern struct key *keyring_search_instkey(struct key *keyring,
|
||||
key_serial_t target_id);
|
||||
|
||||
extern int iterate_over_keyring(const struct key *keyring,
|
||||
int (*func)(const struct key *key, void *data),
|
||||
void *data);
|
||||
|
||||
struct keyring_search_context {
|
||||
struct keyring_index_key index_key;
|
||||
const struct cred *cred;
|
||||
|
Loading…
Reference in New Issue
Block a user