remove set but unused variable which leads into compiling errors with GCC >= 4.6.0
[openwrt/staging/dedeckeh.git] / target / linux / xburst / patches-2.6.37 / 600-remove-set-but-unused-var.patch
1 --- linux-2.6.37.6.orig/arch/mips/jz4740/dma.c 2011-03-27 21:01:41.000000000 +0200
2 +++ linux-2.6.37.6/arch/mips/jz4740/dma.c 2012-03-27 18:29:41.547939867 +0200
3 @@ -242,10 +242,6 @@
4
5 static void jz4740_dma_chan_irq(struct jz4740_dma_chan *dma)
6 {
7 - uint32_t status;
8 -
9 - status = jz4740_dma_read(JZ_REG_DMA_STATUS_CTRL(dma->id));
10 -
11 jz4740_dma_write_mask(JZ_REG_DMA_STATUS_CTRL(dma->id), 0,
12 JZ_DMA_STATUS_CTRL_ENABLE | JZ_DMA_STATUS_CTRL_TRANSFER_DONE);
13