Skip to content

Commit 63fb60c

Browse files
Sonia Sharmaliuw
authored andcommitted
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 <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
1 parent 31e5e64 commit 63fb60c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

include/linux/hyperv.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -538,12 +538,6 @@ struct vmbus_channel_rescind_offer {
538538
u32 child_relid;
539539
} __packed;
540540

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-
547541
/*
548542
* Request Offer -- no parameters, SynIC message contains the partition ID
549543
* 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,
10921086
c->outbound.ring_buffer->pending_send_sz = size;
10931087
}
10941088

1095-
static inline void set_low_latency_mode(struct vmbus_channel *c)
1096-
{
1097-
c->low_latency = true;
1098-
}
1099-
1100-
static inline void clear_low_latency_mode(struct vmbus_channel *c)
1101-
{
1102-
c->low_latency = false;
1103-
}
1104-
11051089
void vmbus_onmessage(struct vmbus_channel_message_header *hdr);
11061090

11071091
int vmbus_request_offers(void);

0 commit comments

Comments
 (0)