matroxfb: fix regression with uninitalized fb_info->mm_lock mutex (second head)
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 7 Jul 2009 20:34:13 +0000 (22:34 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jul 2009 16:19:50 +0000 (09:19 -0700)
Remove redundant locking by the mm_lock mutex before a second head of
matrox framebuffer 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>

No differences found