aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index be2479ab8bc1..afa56a887fa6 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -1357,7 +1357,6 @@ unregister_framebuffer(struct fb_info *fb_info)
1357 i = fb_info->node; 1357 i = fb_info->node;
1358 if (!registered_fb[i]) 1358 if (!registered_fb[i])
1359 return -EINVAL; 1359 return -EINVAL;
1360 devfs_remove("fb/%d", i);
1361 1360
1362 if (fb_info->pixmap.addr && 1361 if (fb_info->pixmap.addr &&
1363 (fb_info->pixmap.flags & FB_PIXMAP_DEFAULT)) 1362 (fb_info->pixmap.flags & FB_PIXMAP_DEFAULT))