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>
This commit is contained in:
parent
98fa8cf4bc
commit
4fa152ce24
|
@ -565,7 +565,6 @@ int hv_ringbuffer_read(struct hv_ring_buffer_info *ring_info,
|
||||||
u32 buflen,
|
u32 buflen,
|
||||||
u32 offset);
|
u32 offset);
|
||||||
|
|
||||||
u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *ring_info);
|
|
||||||
|
|
||||||
void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
|
void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
|
||||||
struct hv_ring_buffer_debug_info *debug_info);
|
struct hv_ring_buffer_debug_info *debug_info);
|
||||||
|
|
|
@ -294,19 +294,6 @@ void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
*
|
|
||||||
* hv_get_ringbuffer_interrupt_mask()
|
|
||||||
*
|
|
||||||
* Get the interrupt mask for the specified ring buffer
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *rbi)
|
|
||||||
{
|
|
||||||
return rbi->ring_buffer->interrupt_mask;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* hv_ringbuffer_init()
|
* hv_ringbuffer_init()
|
||||||
|
|
Loading…
Reference in New Issue