Skip to content

Commit

Permalink
Security: Fix some coding styles in security/keys/keyring.c
Browse files Browse the repository at this point in the history
Fix some coding styles in security/keys/keyring.c

Signed-off-by: Zhitong Wang <[email protected]>
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
cloudsec authored and James Morris committed Mar 4, 2010
1 parent 06b9b72 commit c856347
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions security/keys/keyring.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c856347

Please sign in to comment.