scsi: storvsc: remove bogus code to transfer struct scatterlist
authorChristoph Hellwig <hch@lst.de>
Sun, 29 Jan 2017 09:12:18 +0000 (10:12 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 1 Feb 2017 02:48:38 +0000 (21:48 -0500)
commit526db94e5de8923eb293ae5e2dd6b19d75e26e4c
treee8306c96f789da132405874074496772ea163918
parent546a4d1812b647fddad58a4416c7a44c27bb0499
scsi: storvsc: remove bogus code to transfer struct scatterlist

Remove a piece of code in storvsc_queuecommand that tries to pass the
physical address of the kernel struct scatterlist pointer to the host.

Fortunately the code can't ever be reached anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/storvsc_drv.c