[target/xburst] remove set but unused variable which leads into compiling errors...
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Mar 2012 16:29:19 +0000 (16:29 +0000)
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Mar 2012 16:29:19 +0000 (16:29 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31091 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/xburst/patches-2.6.37/600-remove-set-but-unused-var.patch [new file with mode: 0644]

diff --git a/target/linux/xburst/patches-2.6.37/600-remove-set-but-unused-var.patch b/target/linux/xburst/patches-2.6.37/600-remove-set-but-unused-var.patch
new file mode 100644 (file)
index 0000000..5ba081f
--- /dev/null
@@ -0,0 +1,13 @@
+--- 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);
This page took 0.027914 seconds and 4 git commands to generate.