]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Char: moxa, remove unused allocated page
authorJiri Slaby <jirislaby@gmail.com>
Sat, 10 Feb 2007 09:45:25 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:29 +0000 (10:51 -0800)
commitf204d2672044f0f7061d645f0f59f8535b63d106
tree088a2c8e2a12e959de804549f2a0210a8549a0b9
parent34f5a39899f3f3e815da64f48ddb72942d86c366
[PATCH] Char: moxa, remove unused allocated page

moxaXmitBuff is almost unused -- only one byte from the whole PAGE_SIZE bytes
is used.  Do not alloc so much space for almost anything.  Also remove lock
protecting this page allocation.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/moxa.c