Revert "Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic"
This reverts commit e18149c5ff
.
This commit is contained in:
parent
cdd2f8b719
commit
2fa99f4c04
2 changed files with 0 additions and 9 deletions
|
@ -1965,7 +1965,6 @@ int vmbus_add_channel_kobj(struct hv_device *dev, struct vmbus_channel *channel)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(vmbus_device_unregister);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* vmbus_remove_channel_attr_group - remove the channel's attribute group
|
* vmbus_remove_channel_attr_group - remove the channel's attribute group
|
||||||
|
|
|
@ -119,14 +119,6 @@ static void hv_uio_rescind(struct vmbus_channel *channel)
|
||||||
|
|
||||||
/* Wake up reader */
|
/* Wake up reader */
|
||||||
uio_event_notify(&pdata->info);
|
uio_event_notify(&pdata->info);
|
||||||
|
|
||||||
/*
|
|
||||||
* With rescind callback registered, rescind path will not unregister the device
|
|
||||||
* from vmbus when the primary channel is rescinded.
|
|
||||||
* Without it, rescind handling is incomplete and next onoffer msg does not come.
|
|
||||||
* Unregister the device from vmbus here.
|
|
||||||
*/
|
|
||||||
vmbus_device_unregister(channel->device_obj);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sysfs API to allow mmap of the ring buffers
|
/* Sysfs API to allow mmap of the ring buffers
|
||||||
|
|
Loading…
Add table
Reference in a new issue