atafb: fix regression with uninitalized fb_info->mm_lock mutex
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 7 Jul 2009 17:15:16 +0000 (19:15 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jul 2009 16:19:49 +0000 (09:19 -0700)
commitfeaa61e49b126c2206051a234b8f14ccc75b9f61
treef1b02b85d08b5b60a0278a6711a1ed1d14cd7c5c
parent0c8ddf7f8bf770cf49086af85078c4660d387c55
atafb: fix regression with uninitalized fb_info->mm_lock mutex

Remove redundant locking of the fb_info->mm_lock mutex before the
frambuffer is registered.

This fixes a problem with uninitialized the fb_info->mm_lock mutex
introduced by the commit 537a1bf059f " fbdev: add mutex for fb_mmap
locking"

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/atafb.c