RE: [PATCH] Remove an unused variable from the Intel I/OAT DMA engine driver

2007-09-17 Thread Nelson, Shannon
>-Original Message- >From: Jesper Juhl [mailto:[EMAIL PROTECTED] >Sent: Sunday, September 16, 2007 2:32 PM >To: linux-kernel@vger.kernel.org >Cc: Nelson, Shannon; Leech, Christopher; Jesper Juhl >Subject: [PATCH] Remove an unused variable from the Intel >I/

Re: [PATCH] Remove an unused variable from the Intel I/OAT DMA engine driver

2007-09-16 Thread David Miller
From: Jesper Juhl <[EMAIL PROTECTED]> Date: Sun, 16 Sep 2007 23:31:50 +0200 > > The 'u16 chanctrl' variable in > drivers/dma/ioatdma.c::ioat_dma_free_chan_resources() is completely > unused and gcc quite rightfully warns about it: > > drivers/dma/ioatdma.c:247: warning: unused variable 'chan

[PATCH] Remove an unused variable from the Intel I/OAT DMA engine driver

2007-09-16 Thread Jesper Juhl
The 'u16 chanctrl' variable in drivers/dma/ioatdma.c::ioat_dma_free_chan_resources() is completely unused and gcc quite rightfully warns about it: drivers/dma/ioatdma.c:247: warning: unused variable 'chanctrl' This patch removes the unused variable and silences the warning. Signed-off-by: