aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-12-01 09:46:37 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 13:46:39 -0500
commit4fa152ce24724a4a6b2edd26ca2eb7757ff5b2b8 (patch)
tree94d57fb9bcbfddbce009a834714bbd0059a071cf /drivers/hv
parent98fa8cf4bcc79cb14de8fd815bbcd00dcbd7b20e (diff)
Drivers: hv: Get rid of hv_get_ringbuffer_interrupt_mask()
This function is no longer used; get rid of it. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/hyperv_vmbus.h1
-rw-r--r--drivers/hv/ring_buffer.c13
2 files changed, 0 insertions, 14 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
index 895c898812bd..ac1e419d4b16 100644
--- a/drivers/hv/hyperv_vmbus.h
+++ b/drivers/hv/hyperv_vmbus.h
@@ -565,7 +565,6 @@ int hv_ringbuffer_read(struct hv_ring_buffer_info *ring_info,
565 u32 buflen, 565 u32 buflen,
566 u32 offset); 566 u32 offset);
567 567
568u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *ring_info);
569 568
570void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info, 569void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
571 struct hv_ring_buffer_debug_info *debug_info); 570 struct hv_ring_buffer_debug_info *debug_info);
diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c
index 9bc55f0dcf47..2a0babc95709 100644
--- a/drivers/hv/ring_buffer.c
+++ b/drivers/hv/ring_buffer.c
@@ -294,19 +294,6 @@ void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
294 } 294 }
295} 295}
296 296
297
298/*
299 *
300 * hv_get_ringbuffer_interrupt_mask()
301 *
302 * Get the interrupt mask for the specified ring buffer
303 *
304 */
305u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *rbi)
306{
307 return rbi->ring_buffer->interrupt_mask;
308}
309
310/* 297/*
311 * 298 *
312 * hv_ringbuffer_init() 299 * hv_ringbuffer_init()