1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 05:34:36 +02:00

Revert commit 31091 - "[target/xburst] remove set but unused variable which leads into compiling errors with GCC >= 4.6.0"

'set-but-unused-variable'-issues are dealt with in a generic way now

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31124 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2012-03-28 15:28:21 +00:00
parent 10c82db728
commit af3d648420

View File

@ -1,13 +0,0 @@
--- linux-2.6.37.6.orig/arch/mips/jz4740/dma.c 2011-03-27 21:01:41.000000000 +0200
+++ linux-2.6.37.6/arch/mips/jz4740/dma.c 2012-03-27 18:29:41.547939867 +0200
@@ -242,10 +242,6 @@
static void jz4740_dma_chan_irq(struct jz4740_dma_chan *dma)
{
- uint32_t status;
-
- status = jz4740_dma_read(JZ_REG_DMA_STATUS_CTRL(dma->id));
-
jz4740_dma_write_mask(JZ_REG_DMA_STATUS_CTRL(dma->id), 0,
JZ_DMA_STATUS_CTRL_ENABLE | JZ_DMA_STATUS_CTRL_TRANSFER_DONE);