From: Mirko Vogt Date: Wed, 28 Mar 2012 15:28:21 +0000 (+0000) Subject: Revert commit 31091 - "[target/xburst] remove set but unused variable which leads... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0ad9a02b9b6958cd3732be798713e903ea03bd2d;p=librecmc%2Flibrecmc.git 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 SVN-Revision: 31124 --- 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 deleted file mode 100644 index 5ba081fea8..0000000000 --- a/target/linux/xburst/patches-2.6.37/600-remove-set-but-unused-var.patch +++ /dev/null @@ -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); -