Re: [2.6 patch] drivers/block/pktcdvd.c: remove write-only variablein pkt_iosched_process_queue()

From: Peter Osterlund
Date: Fri Nov 04 2005 - 10:39:29 EST


On Wed, 2 Nov 2005, Adrian Bunk wrote:

> Found this on Coverty's linux bug database (http://linuxbugsdb.coverity.com).
>
> The function pkt_iosched_process_queue makes a call to bdev_get_queue
> and stores the result but never uses it, so it looks like it can be
> safely removed.
>
> From: Gabriel A. Devenyi <ace@xxxxxxxxxxxxx>

Thanks. The patch looks good.

--
Peter Osterlund - petero2@xxxxxxxxx
http://web.telia.com/~u89404340
-
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/