diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2006-12-08 02:38:17 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:28:53 -0800 |
commit | 06cc86b5bd4edcf5e7d68624f7d5c9951916f3d1 (patch) | |
tree | 3e6069bdfc681ca2e240c71129a0b56c933831f3 /drivers/char/watchdog/sbc8360.c | |
parent | 7a7a5c3303a66c9000f270d6dd03ddeda8c80768 (diff) | |
download | blackbird-op-linux-06cc86b5bd4edcf5e7d68624f7d5c9951916f3d1.tar.gz blackbird-op-linux-06cc86b5bd4edcf5e7d68624f7d5c9951916f3d1.zip |
[PATCH] Char: mxser_new, kill unneeded memsets
mxser_new, kill unneeded memsets
There is no need to re-zero static global variables' memory, hence memsets
doing this are useless. alloc_tty_struct also zeroes allocated memory:
another candidate for removing.
This fixes also a bug -- global structures are cleaned up after
initialization of some its parts.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/watchdog/sbc8360.c')
0 files changed, 0 insertions, 0 deletions