hv: hyperv.h: Remove unused inline functions
There are some unused inline functions in hyper.h. Remove those unused functions. Signed-off-by: Sonia Sharma <sonia.sharma@microsoft.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/1626903663-23615-1-git-send-email-sosha@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
This commit is contained in:
@@ -538,12 +538,6 @@ struct vmbus_channel_rescind_offer {
|
|||||||
u32 child_relid;
|
u32 child_relid;
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
static inline u32
|
|
||||||
hv_ringbuffer_pending_size(const struct hv_ring_buffer_info *rbi)
|
|
||||||
{
|
|
||||||
return rbi->ring_buffer->pending_send_sz;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Request Offer -- no parameters, SynIC message contains the partition ID
|
* Request Offer -- no parameters, SynIC message contains the partition ID
|
||||||
* Set Snoop -- no parameters, SynIC message contains the partition ID
|
* Set Snoop -- no parameters, SynIC message contains the partition ID
|
||||||
@@ -1092,16 +1086,6 @@ static inline void set_channel_pending_send_size(struct vmbus_channel *c,
|
|||||||
c->outbound.ring_buffer->pending_send_sz = size;
|
c->outbound.ring_buffer->pending_send_sz = size;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void set_low_latency_mode(struct vmbus_channel *c)
|
|
||||||
{
|
|
||||||
c->low_latency = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void clear_low_latency_mode(struct vmbus_channel *c)
|
|
||||||
{
|
|
||||||
c->low_latency = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void vmbus_onmessage(struct vmbus_channel_message_header *hdr);
|
void vmbus_onmessage(struct vmbus_channel_message_header *hdr);
|
||||||
|
|
||||||
int vmbus_request_offers(void);
|
int vmbus_request_offers(void);
|
||||||
|
|||||||
Reference in New Issue
Block a user