diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-02 08:41:05 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-02 08:41:05 -0800 |
commit | 097e310329fb69c928aa44b517a547e4a17658fd (patch) | |
tree | f3204f99721f46a7c69d51f84f9e3e039be0fda1 /drivers/staging/hv/vmbus.c | |
parent | 9d8bd71ad4f295f80450b5089d239c3135802699 (diff) | |
download | linux-stable-097e310329fb69c928aa44b517a547e4a17658fd.tar.gz linux-stable-097e310329fb69c928aa44b517a547e4a17658fd.tar.bz2 linux-stable-097e310329fb69c928aa44b517a547e4a17658fd.zip |
Staging: hv: remove OnIsr vmbus_driver callback
It's only ever set to one function, so just call that function instead.
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/vmbus.c')
-rw-r--r-- | drivers/staging/hv/vmbus.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/hv/vmbus.c b/drivers/staging/hv/vmbus.c index d7db7d0f5ee6..09b04517ee09 100644 --- a/drivers/staging/hv/vmbus.c +++ b/drivers/staging/hv/vmbus.c @@ -175,9 +175,9 @@ static void VmbusOnEventDPC(struct hv_driver *drv) } /* - * VmbusOnISR - ISR routine + * vmbus_on_isr - ISR routine */ -static int VmbusOnISR(struct hv_driver *drv) +int vmbus_on_isr(struct hv_driver *drv) { int ret = 0; int cpu = smp_processor_id(); @@ -235,7 +235,6 @@ int VmbusInitialize(struct hv_driver *drv) driver->Base.OnDeviceAdd = VmbusOnDeviceAdd; driver->Base.OnDeviceRemove = VmbusOnDeviceRemove; driver->Base.OnCleanup = VmbusOnCleanup; - driver->OnIsr = VmbusOnISR; driver->OnMsgDpc = VmbusOnMsgDPC; driver->OnEventDpc = VmbusOnEventDPC; driver->GetChannelOffers = VmbusGetChannelOffers; |