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>
Showing
- security/keys/compat.c 1 addition, 3 deletionssecurity/keys/compat.c
- security/keys/encrypted_defined.c 0 additions, 1 deletionsecurity/keys/encrypted_defined.c
- security/keys/key.c 20 additions, 60 deletionssecurity/keys/key.c
- security/keys/keyctl.c 19 additions, 58 deletionssecurity/keys/keyctl.c
- security/keys/keyring.c 16 additions, 48 deletionssecurity/keys/keyring.c
- security/keys/permission.c 2 additions, 6 deletionssecurity/keys/permission.c
- security/keys/proc.c 1 addition, 6 deletionssecurity/keys/proc.c
- security/keys/process_keys.c 5 additions, 18 deletionssecurity/keys/process_keys.c
- security/keys/request_key_auth.c 8 additions, 24 deletionssecurity/keys/request_key_auth.c
- security/keys/user_defined.c 8 additions, 24 deletionssecurity/keys/user_defined.c
Loading
Please register or sign in to comment