fate#314663 hyper-v memory ballooning support
[opensuse:kernel-source.git] / patches.suse / suse-hv-fate314665-0006-Drivers-hv-Get-rid-of-hv_get_ringbuffer_interrupt_ma.patch
1 Patch-mainline: submitted
2 From: <ohering@suse.de>
3 Date: Sat, 1 Dec 2012 06:46:37 -0800
4 Subject: [PATCH 06/28] Drivers: hv: Get rid of
5  hv_get_ringbuffer_interrupt_mask()
6
7 This function is no longer used; get rid of it.
8
9 Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
10 Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
11 ---
12  drivers/hv/hyperv_vmbus.h |  1 -
13  drivers/hv/ring_buffer.c  | 13 -------------
14  2 files changed, 14 deletions(-)
15
16 diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
17 index 895c898..ac1e419 100644
18 --- a/drivers/hv/hyperv_vmbus.h
19 +++ b/drivers/hv/hyperv_vmbus.h
20 @@ -565,7 +565,6 @@ int hv_ringbuffer_read(struct hv_ring_buffer_info *ring_info,
21                    u32 buflen,
22                    u32 offset);
23  
24 -u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *ring_info);
25  
26  void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
27                             struct hv_ring_buffer_debug_info *debug_info);
28 diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c
29 index 9bc55f0..2a0babc 100644
30 --- a/drivers/hv/ring_buffer.c
31 +++ b/drivers/hv/ring_buffer.c
32 @@ -294,19 +294,6 @@ void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
33         }
34  }
35  
36 -
37 -/*
38 - *
39 - * hv_get_ringbuffer_interrupt_mask()
40 - *
41 - * Get the interrupt mask for the specified ring buffer
42 - *
43 - */
44 -u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *rbi)
45 -{
46 -       return rbi->ring_buffer->interrupt_mask;
47 -}
48 -
49  /*
50   *
51   * hv_ringbuffer_init()
52 -- 
53 1.8.0.1
54