]> git.baikalelectronics.ru Git - kernel.git/commit
ip2: init/deinit cleanup
authorJiri Slaby <jirislaby@gmail.com>
Mon, 13 Oct 2008 09:34:56 +0000 (10:34 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:39 +0000 (09:51 -0700)
commit0324edb52d2931487d8e89768d4986a187a1e551
tree5051c57c141121e3ad1b6532908c202b1e5731d6
parent29030e416cfeea8bd7bdacfb72c3bb653f4b76d3
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>
drivers/char/ip2/i2ellis.c
drivers/char/ip2/i2ellis.h
drivers/char/ip2/ip2main.c