Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150886380
D7025.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
964 B
Referenced Files
None
Subscribers
None
D7025.diff
View Options
Index: head/sys/dev/hyperv/vmbus/vmbus.c
===================================================================
--- head/sys/dev/hyperv/vmbus/vmbus.c
+++ head/sys/dev/hyperv/vmbus/vmbus.c
@@ -983,20 +983,6 @@
}
static int
-vmbus_write_ivar(device_t dev, device_t child, int index, uintptr_t value)
-{
- switch (index) {
- case HV_VMBUS_IVAR_TYPE:
- case HV_VMBUS_IVAR_INSTANCE:
- case HV_VMBUS_IVAR_DEVCTX:
- case HV_VMBUS_IVAR_NODE:
- /* read-only */
- return (EINVAL);
- }
- return (ENOENT);
-}
-
-static int
vmbus_child_pnpinfo_str(device_t dev, device_t child, char *buf, size_t buflen)
{
struct hv_device *dev_ctx = device_get_ivars(child);
@@ -1311,7 +1297,6 @@
DEVMETHOD(bus_add_child, bus_generic_add_child),
DEVMETHOD(bus_print_child, bus_generic_print_child),
DEVMETHOD(bus_read_ivar, vmbus_read_ivar),
- DEVMETHOD(bus_write_ivar, vmbus_write_ivar),
DEVMETHOD(bus_child_pnpinfo_str, vmbus_child_pnpinfo_str),
/* Vmbus interface */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 5, 5:35 PM (2 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30906250
Default Alt Text
D7025.diff (964 B)
Attached To
Mode
D7025: hyperv/vmbus: All ivars are read-only; nuke unnecessary write_ivar
Attached
Detach File
Event Timeline
Log In to Comment