From: Jiri Slaby Date: Fri, 8 Dec 2006 10:38:17 +0000 (-0800) Subject: [PATCH] Char: mxser_new, kill unneeded memsets X-Git-Tag: v2.6.20-rc1~34^2~233 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06cc86b5bd4edcf5e7d68624f7d5c9951916f3d1;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed