kernel/drivers/video/fbdev/core/fbcmap.c
.. .. @@ -285,11 +285,7 @@ 285 285 goto out; 286 286 } 287 287 umap.start = cmap->start; 288 - if (!lock_fb_info(info)) {289 - rc = -ENODEV;290 - goto out;291 - }292 -288 + lock_fb_info(info);293 289 rc = fb_set_cmap(&umap, info); 294 290 unlock_fb_info(info); 295 291 out: