From: Gabriel A. Devenyi Date: Wed, 9 Nov 2005 05:35:00 +0000 (-0800) Subject: [PATCH] drivers/block/pktcdvd.c: remove write-only variable in pkt_iosched_process_qu... X-Git-Tag: v2.6.15-rc1~363 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4a53cbabc81f04e24a5570b4aa6a6384bdbfc67;p=pandora-kernel.git [PATCH] drivers/block/pktcdvd.c: remove write-only variable in pkt_iosched_process_queue() 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. Signed-off-by: Gabriel A. Devenyi Signed-off-by: Adrian Bunk Acked-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed