Skip to contentSkip to conversation

Staging: hv: Get rid of class_id from vm_device

PATCH In review K. Y. Srinivasan 1 participant 1 message Mar 7, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 14/16 Staging: hv: Get rid of class_id from vm_device

Both device abstractions: vm_device and hv_device maintain state to reperesent the device type (and they refer to them by different names - class_id in vm_device and dev_type in hv_device). In preparation for consolidating all device state in struct hv_device; eliminate class_id from struct vm_device.

---
 drivers/staging/hv/vmbus.h     |    1 -
 drivers/staging/hv/vmbus_drv.c |   60 +++++++++++++++++++--------------------
 2 files changed, 29 insertions(+), 32 deletions(-)
drivers/staging/hv/vmbus.h +0 -1
index ecd2d2f..a809f00 100644
@@ -30,7 +30,6 @@
 
 
 struct vm_device {
-	struct hv_guid class_id;
 	struct hv_guid device_id;
 	struct hv_device device_obj;
 	struct device device;
drivers/staging/hv/vmbus_drv.c +29 -31

93 lines not on this page · raw message

Signature · 1 line
1.5.5.6