]> err.no Git - linux-2.6/commit
[PATCH] drivers/block/pktcdvd.c: remove write-only variable in pkt_iosched_process_qu...
authorGabriel A. Devenyi <ace@staticwave.ca>
Wed, 9 Nov 2005 05:35:00 +0000 (21:35 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:55:58 +0000 (07:55 -0800)
commite4a53cbabc81f04e24a5570b4aa6a6384bdbfc67
treecfcfb5b0f93b30d035719ddffe069d3362155707
parent55e64b3003f03355d8e950af58d456b6314a5a62
[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 <ace@staticwave.ca>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/pktcdvd.c