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

viafb: remove dead code

Remove a completly unused function.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Florian Tobias Schandinat and committed by
Linus Torvalds
2365dfe9 cc8b82f8

-13
-12
drivers/video/via/via_utility.c
··· 239 239 else 240 240 *support_state = CRT_Device | DVI_Device | LCD_Device; 241 241 } 242 - 243 - int viafb_input_parameter_converter(int parameter_value) 244 - { 245 - int result; 246 - 247 - if (parameter_value >= 1 && parameter_value <= 9) 248 - result = 1 << (parameter_value - 1); 249 - else 250 - result = 1; 251 - 252 - return result; 253 - }
-1
drivers/video/via/via_utility.h
··· 30 30 void viafb_set_gamma_table(int bpp, unsigned int *gamma_table); 31 31 void viafb_get_gamma_table(unsigned int *gamma_table); 32 32 void viafb_get_gamma_support_state(int bpp, unsigned int *support_state); 33 - int viafb_input_parameter_converter(int parameter_value); 34 33 35 34 #endif /* __VIAUTILITY_H__ */