Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220409
b: refs/heads/master
c: a4e91ed
h: refs/heads/master
i:
  220407: 3aa46e1
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 20, 2010
1 parent 2360005 commit c373366
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e957bda0f4c88b29a027be23f4cc05f2abab2329
refs/heads/master: a4e91ed24bc6b68caa534a9de35f7fc770bffde9
15 changes: 1 addition & 14 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ static void vmbus_child_device_destroy(struct hv_device *device_obj);
static int vmbus_child_device_register(struct hv_device *root_device_obj,
struct hv_device *child_device_obj);
static void vmbus_child_device_unregister(struct hv_device *child_device_obj);
static void vmbus_child_device_get_info(struct hv_device *device_obj,
struct hv_device_info *device_info);
static ssize_t vmbus_show_device_attr(struct device *dev,
struct device_attribute *dev_attr,
char *buf);
Expand Down Expand Up @@ -146,7 +144,7 @@ static ssize_t vmbus_show_device_attr(struct device *dev,

memset(&device_info, 0, sizeof(struct hv_device_info));

vmbus_child_device_get_info(&device_ctx->device_obj, &device_info);
get_channel_info(&device_ctx->device_obj, &device_info);

if (!strcmp(dev_attr->attr.name, "class_id")) {
return sprintf(buf, "{%02x%02x%02x%02x-%02x%02x-%02x%02x-"
Expand Down Expand Up @@ -463,17 +461,6 @@ void vmbus_get_interface(struct vmbus_channel_interface *interface)
}
EXPORT_SYMBOL(vmbus_get_interface);

/*
* vmbus_child_device_get_info - Get the vmbus child device info.
*
* This is invoked to display various device attributes in sysfs.
*/
static void vmbus_child_device_get_info(struct hv_device *device_obj,
struct hv_device_info *device_info)
{
get_channel_info(device_obj, device_info);
}

/*
* vmbus_child_device_create - Creates and registers a new child device
* on the vmbus.
Expand Down

0 comments on commit c373366

Please sign in to comment.