mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
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>
This commit is contained in:
parent
06b9b72df4
commit
c8563473c1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user