[1/2] fb: for framebuffer handover don't exit the loop early.
diff mbox

Message ID 1267073067-23117-2-git-send-email-airlied@gmail.com
State New, archived
Headers show

Commit Message

Dave Airlie Feb. 25, 2010, 4:44 a.m. UTC
None

Patch
diff mbox

diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index 99bbd28..a15b44e 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -1513,7 +1513,6 @@  register_framebuffer(struct fb_info *fb_info)
 				       fb_info->fix.id,
 				       registered_fb[i]->fix.id);
 				unregister_framebuffer(registered_fb[i]);
-				break;
 			}
 		}
 	}