Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Denys Vlasenko and committed by
Linus Torvalds
da909ce4 ec81c9cc

+1 -1
+1 -1
drivers/video/console/fbcon.c
··· 287 287 !vt_force_oops_output(vc); 288 288 } 289 289 290 - static inline int get_color(struct vc_data *vc, struct fb_info *info, 290 + static int get_color(struct vc_data *vc, struct fb_info *info, 291 291 u16 c, int is_fg) 292 292 { 293 293 int depth = fb_get_color_depth(&info->var, &info->fix);