Staging: hv: storvsc: Cleanup storvsc_queuecommand()
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 12 Jan 2012 20:37:56 +0000 (12:37 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 01:07:35 +0000 (17:07 -0800)
commitc77b63b639f52b2e92d0bbaa94f33a78939f3e7c
tree10f2ce416f0f8a40c9550938434263366200b50d
parent59d22950b274182b006e4071d6690bfbc94d7267
Staging: hv: storvsc: Cleanup storvsc_queuecommand()

Cleanup storvsc_queuecommand(). As part of this cleanup, rename the function to
check if the scsi command can be sent to the host, consolidate error recovery
and get rid of some dead code.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hv/storvsc_drv.c