From: Denys Vlasenko Date: Wed, 11 Aug 2010 01:02:29 +0000 (-0700) Subject: fbcon: uninline large static function get_color() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da909ce4c0df482a43e1e8c827a7d2f169973736;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git fbcon: uninline large static function get_color() This function's body is good two screenfuls and it has six callsites. No apparent reason why it is marked inline. Signed-off-by: Denys Vlasenko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 26bf7cbfecc2..84f842331dfa 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c @@ -287,7 +287,7 @@ static inline int fbcon_is_inactive(struct vc_data *vc, struct fb_info *info) !vt_force_oops_output(vc); } -static inline int get_color(struct vc_data *vc, struct fb_info *info, +static int get_color(struct vc_data *vc, struct fb_info *info, u16 c, int is_fg) { int depth = fb_get_color_depth(&info->var, &info->fix);