summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-12-24 01:08:51 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2013-12-24 12:39:58 +0100
commit40fae1d7188109b07f8b9477ccbe12a12855e958 (patch)
treef071358a0800dd0dc89555a9fa98b2a48878d4ca /firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
parenta56837b46d1b9cce46a83a2acf3a237abffcf629 (diff)
downloadrockbox-40fae1d7188109b07f8b9477ccbe12a12855e958.tar.gz
rockbox-40fae1d7188109b07f8b9477ccbe12a12855e958.tar.bz2
rockbox-40fae1d7188109b07f8b9477ccbe12a12855e958.zip
zenxfi2: remove unused function
Change-Id: I98acfc9394ac83a45985364fdfad85af2f7d1773
Diffstat (limited to 'firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c')
-rw-r--r--firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c b/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
index a2dd689fd3..890ff0b586 100644
--- a/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
+++ b/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
@@ -50,11 +50,6 @@ static inline uint32_t encode_16_to_18(uint32_t a)
return ((a & 0xff) << 1) | (((a >> 8) & 0xff) << 10);
}
-static inline uint32_t decode_18_to_16(uint32_t a)
-{
- return ((a >> 1) & 0xff) | ((a >> 2) & 0xff00);
-}
-
static void setup_lcdif_clock(void)
{
/* the LCD seems to work at 24Mhz, so use the xtal clock with no divider */