kernel_optimize_test/drivers/hv
Dexuan Cui 4d3c5c6919 Drivers: hv: vmbus: Remove the useless API vmbus_get_outgoing_channel()
Commit d86adf482b ("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>
2018-11-26 20:21:21 +01:00
..
channel_mgmt.c Drivers: hv: vmbus: Remove the useless API vmbus_get_outgoing_channel() 2018-11-26 20:21:21 +01:00
channel.c Drivers: hv: vmbus: Remove the useless API vmbus_get_outgoing_channel() 2018-11-26 20:21:21 +01:00
connection.c
hv_balloon.c
hv_fcopy.c
hv_kvp.c Merge 4.20-rc4 into char-misc-next 2018-11-26 07:50:56 +01:00
hv_snapshot.c
hv_trace_balloon.h
hv_trace.c
hv_trace.h
hv_util.c hv_utils: update name in struct hv_driver util_drv 2018-11-11 12:58:26 -08:00
hv_utils_transport.c
hv_utils_transport.h
hv.c Drivers: hv: vmbus: Get rid of unnecessary state in hv_context 2018-11-11 12:58:26 -08:00
hyperv_vmbus.h Drivers: hv: vmbus: Get rid of unnecessary state in hv_context 2018-11-11 12:58:26 -08:00
Kconfig
Makefile
ring_buffer.c
vmbus_drv.c