[-next] keys: Remove unused extern declaration iterate_over_keyring()
Commit Message
Since commit b2a4df200d57 ("KEYS: Expand the capacity of a keyring")
this is never used, so can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
security/keys/internal.h | 4 ----
1 file changed, 4 deletions(-)
@@ -112,10 +112,6 @@ extern key_ref_t find_key_to_update(key_ref_t keyring_ref,
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;