Prev: linux-next: manual merge of the fsnotify tree with the vfs tree
Next: [PATCH 2/2] Init: Fix some coding styles in init/main.c
From: wzt.wzt on 4 Mar 2010 00:30 Fix some coding styles in security/keys/keyring.c Signed-off-by: Zhitong Wang <zhitong.wangzt(a)alibaba-inc.com> --- 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 8ec0274..d77a7ef 100644 --- a/security/keys/keyring.c +++ b/security/keys/keyring.c @@ -168,12 +168,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); -- 1.6.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |