From: wzt.wzt@gmail.com Date: Thu, 4 Mar 2010 13:26:23 +0000 (+0800) Subject: Security: Fix some coding styles in security/keys/keyring.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c8563473c1259f5686ceb918c548c80132089f79;p=mv-sheeva.git Security: Fix some coding styles in security/keys/keyring.c Fix some coding styles in security/keys/keyring.c Signed-off-by: Zhitong Wang Signed-off-by: James Morris --- diff --git a/security/keys/keyring.c b/security/keys/keyring.c index e814d2109f8..a98fb376f24 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);