summaryrefslogtreecommitdiff
path: root/drivers/video/via/via_utility.c
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2010-03-11 02:21:27 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-13 02:52:33 +0300
commit2365dfe99495159b3395dd0eddece2f0d58f527a (patch)
tree04d7f4a6b49ebd80b2554323ea033b6805c5cc87 /drivers/video/via/via_utility.c
parentcc8b82f8c80e8b9e212e0102ee7af9972829e45c (diff)
downloadlinux-2365dfe99495159b3395dd0eddece2f0d58f527a.tar.xz
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>
Diffstat (limited to 'drivers/video/via/via_utility.c')
-rw-r--r--drivers/video/via/via_utility.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/video/via/via_utility.c b/drivers/video/via/via_utility.c
index d53c3d54ed8e..aefdeeec89b1 100644
--- a/drivers/video/via/via_utility.c
+++ b/drivers/video/via/via_utility.c
@@ -239,15 +239,3 @@ void viafb_get_gamma_support_state(int bpp, unsigned int *support_state)
else
*support_state = CRT_Device | DVI_Device | LCD_Device;
}
-
-int viafb_input_parameter_converter(int parameter_value)
-{
- int result;
-
- if (parameter_value >= 1 && parameter_value <= 9)
- result = 1 << (parameter_value - 1);
- else
- result = 1;
-
- return result;
-}