Staging: hv: storvsc: Move and cleanup storvsc_remove()
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 12 Jan 2012 20:37:59 +0000 (12:37 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 01:07:35 +0000 (17:07 -0800)
commitddcbf65e484c3473d3e808718ddb6c8166822c4c
treef7e3cbc67644143cb0daf66e44e0af7ccd60f209
parent4b270c8b23722128adedb5694097aea367284ce1
Staging: hv: storvsc: Move and cleanup storvsc_remove()

Relocate the storvsc_remove() function to a different location in the file
and invoke scsi_host_put() only after all the cleanup.

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