target: do not pass the queue object to transport_remove_cmd_from_queue
authorChristoph Hellwig <hch@infradead.org>
Mon, 17 Oct 2011 17:56:43 +0000 (13:56 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:21:36 +0000 (03:21 +0000)
commit3df8d40ba3fea72c35ab092c091b19a599df1e81
tree910896f429892ff39f1caa72473582d84a40487a
parentf7a5cc0b310af887f5391ba886d3d9254ac8920a
target: do not pass the queue object to transport_remove_cmd_from_queue

We always operated on the same queue, so move finding it into the function,
just like we do for all other helpers operating on it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c