[PATCH] test

From: Wanlong Gao
Date: Tue Jun 14 2011 - 21:03:41 EST




Signed-off-by: Wanlong Gao <wanlong.gao@xxxxxxxxx>
---
drivers/video/fbmem.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index 5aac00e..6e6cef3 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -1642,11 +1642,8 @@ static int do_unregister_framebuffer(struct
fb_info *fb_info)
if (i < 0 || i >= FB_MAX || registered_fb[i] != fb_info)
return -EINVAL;

- if (!lock_fb_info(fb_info))
- return -ENODEV;
event.info = fb_info;
ret = fb_notifier_call_chain(FB_EVENT_FB_UNBIND, &event);
- unlock_fb_info(fb_info);

if (ret)
return -EINVAL;
--
1.7.4.1



--=-rTnFNydmgaih3M/h0Rn4
Content-Disposition: attachment; filename="0001-test.patch"
Content-Type: text/x-patch; name="0001-test.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit