From 6ac285b824270821ac36eaaa2d92dc25ba2a5669 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Mon, 29 Sep 2014 18:48:47 +0100 Subject: [PATCH] hw/display/pxa2xx_lcd.c: Remove unused function pxa2xx_dma_rdst_set The function pxa2xx_dma_rdst_set() is unused; delete it. Signed-off-by: Peter Maydell Message-id: 1410723223-17711-4-git-send-email-peter.maydell@linaro.org --- hw/display/pxa2xx_lcd.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/display/pxa2xx_lcd.c b/hw/display/pxa2xx_lcd.c index 611fb174cd..ac3c018822 100644 --- a/hw/display/pxa2xx_lcd.c +++ b/hw/display/pxa2xx_lcd.c @@ -279,14 +279,6 @@ static inline void pxa2xx_dma_ber_set(PXA2xxLCDState *s, int ch) s->liidr = s->dma_ch[ch].id; } -/* Set Read Status interrupt high and poke associated registers */ -static inline void pxa2xx_dma_rdst_set(PXA2xxLCDState *s) -{ - s->status[0] |= LCSR0_RDST; - if (s->irqlevel && !(s->control[0] & LCCR0_RDSTM)) - s->status[0] |= LCSR0_SINT; -} - /* Load new Frame Descriptors from DMA */ static void pxa2xx_descriptor_load(PXA2xxLCDState *s) {