diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-13 14:33:00 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 12:01:17 -0400 |
| commit | 1fdde16d1f93376ad2a2df769f756572c2e84cbd (patch) | |
| tree | 1478506131d947ea2860edf5d5936eaf9790d135 /include/linux/hyperv.h | |
| parent | 2c9be3eacc39948af2341595322c014833699ac5 (diff) | |
hv: delete struct hv_dev_port_info
It's no longer needed, and the struct hv_ring_buffer_debug_info
structure shouldn't be "global" so move it to the local .h file instead.
Tested-by: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
| -rw-r--r-- | include/linux/hyperv.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index c0e8faf40b35..c68ecfe29441 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
| @@ -429,15 +429,6 @@ struct hv_ring_buffer_info { | |||
| 429 | u32 ring_data_startoffset; | 429 | u32 ring_data_startoffset; |
| 430 | }; | 430 | }; |
| 431 | 431 | ||
| 432 | struct hv_ring_buffer_debug_info { | ||
| 433 | u32 current_interrupt_mask; | ||
| 434 | u32 current_read_index; | ||
| 435 | u32 current_write_index; | ||
| 436 | u32 bytes_avail_toread; | ||
| 437 | u32 bytes_avail_towrite; | ||
| 438 | }; | ||
| 439 | |||
| 440 | |||
| 441 | /* | 432 | /* |
| 442 | * | 433 | * |
| 443 | * hv_get_ringbuffer_availbytes() | 434 | * hv_get_ringbuffer_availbytes() |
| @@ -1166,14 +1157,6 @@ extern int vmbus_recvpacket_raw(struct vmbus_channel *channel, | |||
| 1166 | 1157 | ||
| 1167 | extern void vmbus_ontimer(unsigned long data); | 1158 | extern void vmbus_ontimer(unsigned long data); |
| 1168 | 1159 | ||
| 1169 | struct hv_dev_port_info { | ||
| 1170 | u32 int_mask; | ||
| 1171 | u32 read_idx; | ||
| 1172 | u32 write_idx; | ||
| 1173 | u32 bytes_avail_toread; | ||
| 1174 | u32 bytes_avail_towrite; | ||
| 1175 | }; | ||
| 1176 | |||
| 1177 | /* Base driver object */ | 1160 | /* Base driver object */ |
| 1178 | struct hv_driver { | 1161 | struct hv_driver { |
| 1179 | const char *name; | 1162 | const char *name; |
