diff options
author | Mirko Vogt <mirko@openwrt.org> | 2012-03-27 16:29:19 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2012-03-27 16:29:19 +0000 |
commit | ed8902d6868d8be313179ed297a54d76f8672574 (patch) | |
tree | 0c06ae0079612a9c677c400ebfe5d551fd37bfba /target/linux/xburst/patches-2.6.37 | |
parent | 6fd915ba37b67723337bf49b929d115c71a576bb (diff) | |
download | upstream-ed8902d6868d8be313179ed297a54d76f8672574.tar.gz upstream-ed8902d6868d8be313179ed297a54d76f8672574.tar.bz2 upstream-ed8902d6868d8be313179ed297a54d76f8672574.zip |
remove set but unused variable which leads into compiling errors with GCC >= 4.6.0
SVN-Revision: 31091
Diffstat (limited to 'target/linux/xburst/patches-2.6.37')
-rw-r--r-- | target/linux/xburst/patches-2.6.37/600-remove-set-but-unused-var.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 index 0000000000..5ba081fea8 --- /dev/null +++ b/target/linux/xburst/patches-2.6.37/600-remove-set-but-unused-var.patch @@ -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); + |