Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267952
b: refs/heads/master
c: e9bda43
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 7f1ddb0 commit e243f7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 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: 3b54eed7de90d59b2c6fa416513826279acc3bbd
refs/heads/master: e9bda4348b8dc907ffb26dcda53fff568d35a045
16 changes: 0 additions & 16 deletions trunk/drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ static int storvsc_channel_init(struct hv_device *device)
vstor_packet->operation = VSTOR_OPERATION_BEGIN_INITIALIZATION;
vstor_packet->flags = REQUEST_COMPLETION_FLAG;

DPRINT_INFO(STORVSC, "BEGIN_INITIALIZATION_OPERATION...");

ret = vmbus_sendpacket(device->channel, vstor_packet,
sizeof(struct vstor_packet),
(unsigned long)request,
Expand All @@ -145,7 +143,6 @@ static int storvsc_channel_init(struct hv_device *device)
vstor_packet->status != 0)
goto cleanup;

DPRINT_INFO(STORVSC, "QUERY_PROTOCOL_VERSION_OPERATION...");

/* reuse the packet for version range supported */
memset(vstor_packet, 0, sizeof(struct vstor_packet));
Expand Down Expand Up @@ -174,8 +171,6 @@ static int storvsc_channel_init(struct hv_device *device)
vstor_packet->status != 0)
goto cleanup;

/* Query channel properties */
DPRINT_INFO(STORVSC, "QUERY_PROPERTIES_OPERATION...");

memset(vstor_packet, 0, sizeof(struct vstor_packet));
vstor_packet->operation = VSTOR_OPERATION_QUERY_PROPERTIES;
Expand Down Expand Up @@ -207,8 +202,6 @@ static int storvsc_channel_init(struct hv_device *device)
stor_device->target_id
= vstor_packet->storage_channel_properties.target_id;

DPRINT_INFO(STORVSC, "END_INITIALIZATION_OPERATION...");

memset(vstor_packet, 0, sizeof(struct vstor_packet));
vstor_packet->operation = VSTOR_OPERATION_END_INITIALIZATION;
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
Expand All @@ -232,7 +225,6 @@ static int storvsc_channel_init(struct hv_device *device)
vstor_packet->status != 0)
goto cleanup;

DPRINT_INFO(STORVSC, "**** storage channel up and running!! ****");

cleanup:
put_stor_device(device);
Expand Down Expand Up @@ -305,13 +297,8 @@ static void storvsc_on_receive(struct hv_device *device,
storvsc_on_io_completion(device, vstor_packet, request);
break;
case VSTOR_OPERATION_REMOVE_DEVICE:
DPRINT_INFO(STORVSC, "REMOVE_DEVICE_OPERATION");
/* TODO: */
break;

default:
DPRINT_INFO(STORVSC, "Unknown operation received - %d",
vstor_packet->operation);
break;
}
}
Expand Down Expand Up @@ -421,9 +408,6 @@ int storvsc_dev_remove(struct hv_device *device)
{
struct storvsc_device *stor_device;

DPRINT_INFO(STORVSC, "disabling storage device (%p)...",
device->ext);

stor_device = release_stor_device(device);

/*
Expand Down

0 comments on commit e243f7f

Please sign in to comment.