diff options
author | wzt.wzt@gmail.com <wzt.wzt@gmail.com> | 2010-03-04 21:26:23 +0800 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-03-05 09:49:02 +1100 |
commit | c8563473c1259f5686ceb918c548c80132089f79 (patch) | |
tree | 45bd8a0cf2fcdbe388acdd2526897bbc59007436 | |
parent | 06b9b72df43800b9ae4e77202c8bf5848c9d6998 (diff) | |
download | kernel_samsung_smdk4412-c8563473c1259f5686ceb918c548c80132089f79.zip kernel_samsung_smdk4412-c8563473c1259f5686ceb918c548c80132089f79.tar.gz kernel_samsung_smdk4412-c8563473c1259f5686ceb918c548c80132089f79.tar.bz2 |
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>
-rw-r--r-- | security/keys/keyring.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/security/keys/keyring.c b/security/keys/keyring.c index e814d21..a98fb37 100644 --- a/security/keys/keyring.c +++ b/security/keys/keyring.c @@ -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); |