1
0
Fork 0

Security: Fix some coding styles in security/keys/keyring.c

Fix some coding styles in security/keys/keyring.c

Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
Signed-off-by: James Morris <jmorris@namei.org>
hifive-unleashed-5.1
wzt.wzt@gmail.com 2010-03-04 21:26:23 +08:00 committed by James Morris
parent 06b9b72df4
commit c8563473c1
1 changed files with 2 additions and 4 deletions

View File

@ -170,12 +170,10 @@ static void keyring_describe(const struct key *keyring, struct seq_file *m)
{
struct keyring_list *klist;
if (keyring->description) {
if (keyring->description)
seq_puts(m, keyring->description);
}
else {
else
seq_puts(m, "[anon]");
}
rcu_read_lock();
klist = rcu_dereference(keyring->payload.subscriptions);