Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt...
[firefly-linux-kernel-4.4.55.git] / drivers / video / fbsysfs.c
index afc04df39a03885cef15314f1d00b09b4baf3a0d..d4a2c11d980975be84131abd3a94670a1e2f7c98 100644 (file)
@@ -62,9 +62,6 @@ struct fb_info *framebuffer_alloc(size_t size, struct device *dev)
        mutex_init(&info->bl_curve_mutex);
 #endif
 
-       mutex_init(&info->lock);
-       mutex_init(&info->mm_lock);
-
        return info;
 #undef PADDING
 #undef BYTES_PER_LONG