From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: patches@linaro.org
Subject: [Qemu-devel] [PATCH 3/4] hw/display/pxa2xx_lcd.c: Remove unused function pxa2xx_dma_rdst_set
Date: Sun, 14 Sep 2014 20:33:42 +0100 [thread overview]
Message-ID: <1410723223-17711-4-git-send-email-peter.maydell@linaro.org> (raw)
In-Reply-To: <1410723223-17711-1-git-send-email-peter.maydell@linaro.org>
The function pxa2xx_dma_rdst_set() is unused; delete it.
Signed-off-by: Peter Maydell <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 611fb17..ac3c018 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)
{
--
2.0.0
next prev parent reply other threads:[~2014-09-14 19:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-14 19:33 [Qemu-devel] [PATCH 0/4] ARM: delete unused functions/variables from misc devices Peter Maydell
2014-09-14 19:33 ` [Qemu-devel] [PATCH 1/4] hw/display/blizzard.c: Delete unused function blizzard_rgb2yuv Peter Maydell
2014-09-14 19:33 ` [Qemu-devel] [PATCH 2/4] hw/intc/imx_avic.c: Remove unused function imx_avic_set_prio() Peter Maydell
2014-09-14 19:33 ` Peter Maydell [this message]
2014-09-14 19:33 ` [Qemu-devel] [PATCH 4/4] hw/input/tsc210x.c: Delete unused array tsc2101_rates Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1410723223-17711-4-git-send-email-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=patches@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).