提交 c8563473 编写于 作者: W wzt.wzt@gmail.com 提交者: James Morris

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

Fix some coding styles in security/keys/keyring.c
Signed-off-by: NZhitong Wang <zhitong.wangzt@alibaba-inc.com>
Signed-off-by: NJames Morris <jmorris@namei.org>
上级 06b9b72d
...@@ -170,12 +170,10 @@ static void keyring_describe(const struct key *keyring, struct seq_file *m) ...@@ -170,12 +170,10 @@ static void keyring_describe(const struct key *keyring, struct seq_file *m)
{ {
struct keyring_list *klist; struct keyring_list *klist;
if (keyring->description) { if (keyring->description)
seq_puts(m, keyring->description); seq_puts(m, keyring->description);
} else
else {
seq_puts(m, "[anon]"); seq_puts(m, "[anon]");
}
rcu_read_lock(); rcu_read_lock();
klist = rcu_dereference(keyring->payload.subscriptions); klist = rcu_dereference(keyring->payload.subscriptions);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册