summaryrefslogtreecommitdiffstats
path: root/hw/input/tsc210x.c
diff options
context:
space:
mode:
authorPeter Maydell2014-09-29 19:48:48 +0200
committerPeter Maydell2014-09-29 19:48:48 +0200
commitf59492b984934170f624487ffdec983a0102ba96 (patch)
tree373254db900c9688b1b605b9a17911f44e7b3b6d /hw/input/tsc210x.c
parenthw/display/pxa2xx_lcd.c: Remove unused function pxa2xx_dma_rdst_set (diff)
downloadqemu-f59492b984934170f624487ffdec983a0102ba96.tar.gz
qemu-f59492b984934170f624487ffdec983a0102ba96.tar.xz
qemu-f59492b984934170f624487ffdec983a0102ba96.zip
hw/input/tsc210x.c: Delete unused array tsc2101_rates
The array tsc2101_rates[] is unused (and we don't implement the TSC2101 anyway, only the 2102); delete it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1410723223-17711-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/input/tsc210x.c')
-rw-r--r--hw/input/tsc210x.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/hw/input/tsc210x.c b/hw/input/tsc210x.c
index aa5b6886ea..fae3385636 100644
--- a/hw/input/tsc210x.c
+++ b/hw/input/tsc210x.c
@@ -215,36 +215,6 @@ typedef struct {
int fsref;
} TSC210xRateInfo;
-/* { rate, dsor, fsref } */
-static const TSC210xRateInfo tsc2101_rates[] = {
- /* Fsref / 6.0 */
- { 7350, 7, 1 },
- { 8000, 7, 0 },
- /* Fsref / 5.5 */
- { 8018, 6, 1 },
- { 8727, 6, 0 },
- /* Fsref / 5.0 */
- { 8820, 5, 1 },
- { 9600, 5, 0 },
- /* Fsref / 4.0 */
- { 11025, 4, 1 },
- { 12000, 4, 0 },
- /* Fsref / 3.0 */
- { 14700, 3, 1 },
- { 16000, 3, 0 },
- /* Fsref / 2.0 */
- { 22050, 2, 1 },
- { 24000, 2, 0 },
- /* Fsref / 1.5 */
- { 29400, 1, 1 },
- { 32000, 1, 0 },
- /* Fsref */
- { 44100, 0, 1 },
- { 48000, 0, 0 },
-
- { 0, 0, 0 },
-};
-
/* { rate, dsor, fsref } */
static const TSC210xRateInfo tsc2102_rates[] = {
/* Fsref / 6.0 */