diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-10-13 09:34:56 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 16:51:39 (GMT) |
commit | f1ddfd950221cca4d7ba753a71bc4b8930a42a43 (patch) | |
tree | 5051c57c141121e3ad1b6532908c202b1e5731d6 /lib/locking-selftest-rlock-softirq.h | |
parent | 7ccd7020ef188b62781fe2f0a68131aa066d59a5 (diff) | |
download | linux-fsl-qoriq-f1ddfd950221cca4d7ba753a71bc4b8930a42a43.tar.xz |
ip2: init/deinit cleanup
Cleanup of module_init/exit:
- mostly whitespace
- remove empty functions
- replace c++ comments
- remove useless prints (module loaded, unloaded)
- mark the calls as __exit and __init
- use break; and return; to save some indent levels after it
- note resource leakage
It's still mess, but now it's readable.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions