Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sonia Sharma and committed by
Wei Liu
63fb60c2 31e5e646

-16
-16
include/linux/hyperv.h
··· 538 538 u32 child_relid; 539 539 } __packed; 540 540 541 - static inline u32 542 - hv_ringbuffer_pending_size(const struct hv_ring_buffer_info *rbi) 543 - { 544 - return rbi->ring_buffer->pending_send_sz; 545 - } 546 - 547 541 /* 548 542 * Request Offer -- no parameters, SynIC message contains the partition ID 549 543 * Set Snoop -- no parameters, SynIC message contains the partition ID ··· 1084 1090 } 1085 1091 1086 1092 c->outbound.ring_buffer->pending_send_sz = size; 1087 - } 1088 - 1089 - static inline void set_low_latency_mode(struct vmbus_channel *c) 1090 - { 1091 - c->low_latency = true; 1092 - } 1093 - 1094 - static inline void clear_low_latency_mode(struct vmbus_channel *c) 1095 - { 1096 - c->low_latency = false; 1097 1093 } 1098 1094 1099 1095 void vmbus_onmessage(struct vmbus_channel_message_header *hdr);