summaryrefslogtreecommitdiffstats
path: root/drivers/fpga
diff options
context:
space:
mode:
authorDexuan Cui2018-11-26 03:17:56 +0100
committerGreg Kroah-Hartman2018-11-26 20:21:21 +0100
commit4d3c5c69191f98c7f7e699ff08d2fd96d7070ddb (patch)
treeda0446badd2f32c0f8201ac499db2b45f22f96f6 /drivers/fpga
parentfirmware: add remote status update client support (diff)
downloadkernel-qcow2-linux-4d3c5c69191f98c7f7e699ff08d2fd96d7070ddb.tar.gz
kernel-qcow2-linux-4d3c5c69191f98c7f7e699ff08d2fd96d7070ddb.tar.xz
kernel-qcow2-linux-4d3c5c69191f98c7f7e699ff08d2fd96d7070ddb.zip
Drivers: hv: vmbus: Remove the useless API vmbus_get_outgoing_channel()
Commit d86adf482b84 ("scsi: storvsc: Enable multi-queue support") removed the usage of the API in Jan 2017, and the API is not used since then. netvsc and storvsc have their own algorithms to determine the outgoing channel, so this API is useless. And the API is potentially unsafe, because it reads primary->num_sc without any lock held. This can be risky considering the RESCIND-OFFER message. Let's remove the API. Cc: Long Li <longli@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions