From: Peter Maydell Date: Mon, 29 Sep 2014 17:48:47 +0000 (+0100) Subject: hw/display/pxa2xx_lcd.c: Remove unused function pxa2xx_dma_rdst_set X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6ac285b824270821ac36eaaa2d92dc25ba2a5669;p=qemu.git 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 --- 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) {