瀏覽代碼

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 <vda.linux@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Denys Vlasenko 15 年之前
父節點
當前提交
da909ce4c0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/video/console/fbcon.c

+ 1 - 1
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);
 		!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)
 	      u16 c, int is_fg)
 {
 {
 	int depth = fb_get_color_depth(&info->var, &info->fix);
 	int depth = fb_get_color_depth(&info->var, &info->fix);