Re: [TRIVIAL PATCH] Remove unused variable in drivers/dma/ioatdma.c

From: David Miller
Date: Sun Oct 07 2007 - 17:05:50 EST


From: Johannes Weiner <hannes-kernel@xxxxxxxxxxxx>
Date: Sun, 7 Oct 2007 21:18:49 +0200

> Hi,
>
> I found this in an `allyesconfig' build:
>
> CC drivers/dma/ioatdma.o
> drivers/dma/ioatdma.c: In function #ioat_dma_free_chan_resources#:
> drivers/dma/ioatdma.c:247: warning: unused variable #chanctrl#
>
> Hannes
>
> Signed-off-by: Johannes Weiner <hannes-kernel@xxxxxxxxxxxx>

This exists as a patch in -mm for what seems like months.

I can't believe this one-liner hasn't been merged yet, it's
silly.

I was even chastised at one point for merging it into my net-2.6.24
tree :-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/