]> Pileus Git - ~andy/linux/commit
tcm_loop: kill tcm_loop_allocate_core_cmd
authorChristoph Hellwig <hch@infradead.org>
Thu, 2 Feb 2012 22:04:40 +0000 (17:04 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 25 Feb 2012 22:37:48 +0000 (14:37 -0800)
commitf872c9f417a38a08b6ffe46e1f937d3db1d22775
treec475f8e56b369bd8d03343e97ab171ef6cfe0ac5
parent59dcb5ec47965d8d22428db67cbea33a9ec4f347
tcm_loop: kill tcm_loop_allocate_core_cmd

This function makes little sense as a separate abstraction as it's deeply
interwinded with the control flow of its only caller.  Merged it into
tcm_loop_queuecommand after factoring out a helper to convert the task
attribute representation.

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