target: remove transport_allocate_tasks
authorChristoph Hellwig <hch@infradead.org>
Tue, 18 Oct 2011 10:57:02 +0000 (06:57 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:21:59 +0000 (03:21 +0000)
commit38b400676b5b33178a418bebc2b1af6c3fb0b380
tree167cb6bbcffbbee7bc4728d6b5d2b58efe3111a2
parentda0f7619913751d45fc3cda652789379f4f435fb
target: remove transport_allocate_tasks

There were only two callers, and one of them always wants the call
to transport_allocate_data_tasks anyway.  Also drop the constant
lba argument to transport_allocate_data_tasks and move the variables
inside it into the minimum required scope.

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