linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/9] fbcon: convert last fbcon_takeover call to do_fbcon_takeover
@ 2013-05-08 18:13 Wang YanQing
  0 siblings, 0 replies; only message in thread
From: Wang YanQing @ 2013-05-08 18:13 UTC (permalink / raw)
  To: gregkh; +Cc: jslaby, alan, airlied, linux-kernel

After commit 054430e773c9a1e26f38e30156eff02dedfffc17 (fbcon: fix locking harder),
there is only one place use do_fbcon_takeover now, this patch
convert it to do_fbcon_takeover too, then we can delete
fbcon_takeover whos function can be achieved with do_fbcon_takeover
easily to reduce code size and duplication.

Signed-off-by: Wang YanQing <udknight@gmail.com>
---
 drivers/video/console/fbcon.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index 3cd6759..1660644 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -3541,8 +3541,9 @@ static void fbcon_start(void)
 			}
 		}
 
+		do_fbcon_takeover(0);
 		console_unlock();
-		fbcon_takeover(0);
+
 	}
 }
 
-- 
1.7.12.4.dirty

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-08 18:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-08 18:13 [PATCH 1/9] fbcon: convert last fbcon_takeover call to do_fbcon_takeover Wang YanQing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).