summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_bsg.c
diff options
context:
space:
mode:
authorSaurabh Sengar <ssengar@linux.microsoft.com>2022-05-25 04:27:02 -0700
committerWei Liu <wei.liu@kernel.org>2022-05-26 10:03:45 +0000
commit86c8fb4d228ed8dbe17b1abd664888bc7ee0052a (patch)
treebde836cbe77ffc30aadb4cacf02443fc144a7d93 /drivers/scsi/scsi_bsg.c
parent1940f9f81d4523b261617cf10e926b4a2485168c (diff)
downloadlinux-stable-86c8fb4d228ed8dbe17b1abd664888bc7ee0052a.tar.gz
linux-stable-86c8fb4d228ed8dbe17b1abd664888bc7ee0052a.tar.bz2
linux-stable-86c8fb4d228ed8dbe17b1abd664888bc7ee0052a.zip
scsi: storvsc: Removing Pre Win8 related logic
The latest storvsc code has already removed the support for windows 7 and earlier. There is still some code logic remaining which is there to support pre Windows 8 OS. This patch removes these stale logic. This patch majorly does three things : 1. Removes vmscsi_size_delta and its logic, as the vmscsi_request struct is same for all the OS post windows 8 there is no need of delta. 2. Simplify sense_buffer_size logic, as there is single buffer size for all the post windows 8 OS. 3. Embed the vmscsi_win8_extension structure inside the vmscsi_request, as there is no separate handling required for different OS. Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/1653478022-26621-1-git-send-email-ssengar@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/scsi/scsi_bsg.c')
0 files changed, 0 insertions, 0 deletions