Drivers: hv: vmbus: Remove unused code to check for subchannels
authorMichael Kelley <mikelley@microsoft.com>
Mon, 25 Oct 2021 19:54:34 +0000 (12:54 -0700)
committerWei Liu <wei.liu@kernel.org>
Thu, 28 Oct 2021 11:26:40 +0000 (11:26 +0000)
commit20cf6616ccd50256a14fb2a7a3cc730080c90cd0
tree8fca8a19561e208687654d9e518dab7337983a1f
parent9a8797722e4239242d0cb4cc4baa805df6ac979e
Drivers: hv: vmbus: Remove unused code to check for subchannels

The last caller of vmbus_are_subchannels_present() was removed in commit
c967590457ca ("scsi: storvsc: Fix a race in sub-channel creation that can cause panic").

Remove this dead code, and the utility function invoke_sc_cb() that it is
the only caller of.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1635191674-34407-1-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/channel_mgmt.c
include/linux/hyperv.h