Commit da909ce4 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Linus Torvalds

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: default avatarDenys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ec81c9cc
...@@ -287,7 +287,7 @@ static inline int fbcon_is_inactive(struct vc_data *vc, struct fb_info *info) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment