projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06b9b72
)
Security: Fix some coding styles in security/keys/keyring.c
author
wzt.wzt@gmail.com
<wzt.wzt@gmail.com>
Thu, 4 Mar 2010 13:26:23 +0000
(21:26 +0800)
committer
James Morris
<jmorris@namei.org>
Thu, 4 Mar 2010 22:49:02 +0000
(09:49 +1100)
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>
security/keys/keyring.c
patch
|
blob
|
blame
|
history
diff --git
a/security/keys/keyring.c
b/security/keys/keyring.c
index e814d2109f8ef170ea60043fa83b1f37c3e35de1..a98fb376f249154dbfeed9410d9e3c8311d95d0a 100644
(file)
--- 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);