diff options
author | David Howells <dhowells@redhat.com> | 2011-01-20 11:38:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-21 17:59:29 -0500 |
commit | a8b17ed019bd40d3bfa20439d9c36a99f9be9180 (patch) | |
tree | beb3b08575aa01c7ebb24939b678d533b1f59adf /security/keys/compat.c | |
parent | 9093ba53b7f26dbb5210de1157769e59e34bbe23 (diff) |
KEYS: Do some style cleanup in the key management code.
Do a bit of a style clean up in the key management code. No functional
changes.
Done using:
perl -p -i -e 's!^/[*]*/\n!!' security/keys/*.c
perl -p -i -e 's!} /[*] end [a-z0-9_]*[(][)] [*]/\n!}\n!' security/keys/*.c
sed -i -s -e ": next" -e N -e 's/^\n[}]$/}/' -e t -e P -e 's/^.*\n//' -e "b next" security/keys/*.c
To remove /*****/ lines, remove comments on the closing brace of a
function to name the function and remove blank lines before the closing
brace of a function.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/keys/compat.c')
-rw-r--r-- | security/keys/compat.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/security/keys/compat.c b/security/keys/compat.c index 792c0a611a6d..3cedf6305179 100644 --- a/security/keys/compat.c +++ b/security/keys/compat.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/compat.h> | 14 | #include <linux/compat.h> |
15 | #include "internal.h" | 15 | #include "internal.h" |
16 | 16 | ||
17 | /*****************************************************************************/ | ||
18 | /* | 17 | /* |
19 | * the key control system call, 32-bit compatibility version for 64-bit archs | 18 | * the key control system call, 32-bit compatibility version for 64-bit archs |
20 | * - this should only be called if the 64-bit arch uses weird pointers in | 19 | * - this should only be called if the 64-bit arch uses weird pointers in |
@@ -88,5 +87,4 @@ asmlinkage long compat_sys_keyctl(u32 option, | |||
88 | default: | 87 | default: |
89 | return -EOPNOTSUPP; | 88 | return -EOPNOTSUPP; |
90 | } | 89 | } |
91 | 90 | } | |
92 | } /* end compat_sys_keyctl() */ | ||