[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MWHPR21MB1593804BE63C6813D66F6BC5D7E49@MWHPR21MB1593.namprd21.prod.outlook.com>
Date: Thu, 22 Jul 2021 05:35:31 +0000
From: Michael Kelley <mikelley@...rosoft.com>
To: Sonia Sharma <sosha@...ux.microsoft.com>,
KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>, Dexuan Cui <decui@...rosoft.com>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Sonia Sharma <Sonia.Sharma@...rosoft.com>
Subject: RE: [PATCH] hv: Remove unused inline functions in hyperv.h
From: Sonia Sharma <sosha@...ux.microsoft.com> Sent: Wednesday, July 21, 2021 2:41 PM
>
> There are some unused inline functions in hyperv header file.
> Remove those unused functions.
>
> Signed-off-by: Sonia Sharma <sonia.sharma@...rosoft.com>
> ---
> include/linux/hyperv.h | 16 ----------------
> 1 file changed, 16 deletions(-)
>
> diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
> index 2e859d2..ddc8713 100644
> --- a/include/linux/hyperv.h
> +++ b/include/linux/hyperv.h
> @@ -538,12 +538,6 @@ struct vmbus_channel_rescind_offer {
> u32 child_relid;
> } __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
> * 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;
> }
>
> -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);
>
> int vmbus_request_offers(void);
> --
> 1.8.3.1
Reviewed-by: Michael Kelley <mikelley@...rosoft.com>
Powered by blists - more mailing lists