diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-20 18:55:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-20 18:55:36 -0400 |
commit | ee00966818584e8dbf7a5c7118c3b3cfebd6be14 (patch) | |
tree | 2af0243464b830ace7608dba625f6fb650958842 | |
parent | 50fe56d24897838d5b65ee4d4baa6cad73de804b (diff) |
Staging: hv: remove VmbusGetChannelInfo
It's not needed, make the function pointer point to get_channel_info()
instead.
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/hv/vmbus.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/staging/hv/vmbus.c b/drivers/staging/hv/vmbus.c index b385e6f6346b..6e13c1c976f1 100644 --- a/drivers/staging/hv/vmbus.c +++ b/drivers/staging/hv/vmbus.c | |||
@@ -61,15 +61,6 @@ static void VmbusGetChannelOffers(void) | |||
61 | } | 61 | } |
62 | 62 | ||
63 | /* | 63 | /* |
64 | * VmbusGetChannelInfo - Get the device info for the specified device object | ||
65 | */ | ||
66 | static void VmbusGetChannelInfo(struct hv_device *DeviceObject, | ||
67 | struct hv_device_info *DeviceInfo) | ||
68 | { | ||
69 | get_channel_info(DeviceObject, DeviceInfo); | ||
70 | } | ||
71 | |||
72 | /* | ||
73 | * VmbusCreateChildDevice - Creates the child device on the bus that represents the channel offer | 64 | * VmbusCreateChildDevice - Creates the child device on the bus that represents the channel offer |
74 | */ | 65 | */ |
75 | struct hv_device *VmbusChildDeviceCreate(struct hv_guid *DeviceType, | 66 | struct hv_device *VmbusChildDeviceCreate(struct hv_guid *DeviceType, |
@@ -271,7 +262,7 @@ int VmbusInitialize(struct hv_driver *drv) | |||
271 | driver->OnMsgDpc = VmbusOnMsgDPC; | 262 | driver->OnMsgDpc = VmbusOnMsgDPC; |
272 | driver->OnEventDpc = VmbusOnEventDPC; | 263 | driver->OnEventDpc = VmbusOnEventDPC; |
273 | driver->GetChannelOffers = VmbusGetChannelOffers; | 264 | driver->GetChannelOffers = VmbusGetChannelOffers; |
274 | driver->GetChannelInfo = VmbusGetChannelInfo; | 265 | driver->GetChannelInfo = get_channel_info; |
275 | 266 | ||
276 | /* Hypervisor initialization...setup hypercall page..etc */ | 267 | /* Hypervisor initialization...setup hypercall page..etc */ |
277 | ret = HvInit(); | 268 | ret = HvInit(); |