diff options
| author | 2006-12-08 02:38:17 -0800 | |
|---|---|---|
| committer | 2006-12-08 08:28:53 -0800 | |
| commit | 06cc86b5bd4edcf5e7d68624f7d5c9951916f3d1 (patch) | |
| tree | 3e6069bdfc681ca2e240c71129a0b56c933831f3 /include/linux | |
| parent | [PATCH] char: mxser_new, check request_region retvals (diff) | |
[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 'include/linux')
0 files changed, 0 insertions, 0 deletions
