Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp32661pxv; Wed, 21 Jul 2021 14:44:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEMlf+F/yolGaA8Dy3VJaaYb1fMFrQukM0RAwtzs4pwp6apR3a3pe14FnsbiALS1SrgcpE X-Received: by 2002:a05:6638:c58:: with SMTP id g24mr32396198jal.63.1626903859728; Wed, 21 Jul 2021 14:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626903859; cv=none; d=google.com; s=arc-20160816; b=ILpSbk+yZNSyrcbpBddUoivmdyFmloVy5r+W0UZrE8nIx+YZjDPzmfVfmIdBb4ZGY5 m5AZhMduBv/0gCuIUincNZM0zHMs8+c+Wtcxxp+50HVO9ebKLqm0KuAaZ+ns4Sc/v1mt CYzM3uI4RChQ2Zj+BeUYBKUusf7+a8ZcSmJu5OBH3vqm6ixva6FOoEEh1Q/ltz1gJah5 /31uOg8W5uvOkSBqXWc/9YchJhjiVSspD6PYbEVXQpHyM/xN35Ii4QVNluyNBquI8d6Q XTPHJd7O5+d4NJFahXd9/2z1qCV4f6XP9a27aVVriyseBfykm5MR/D4eZhYwaFlZM5r/ GoEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:to:from:dkim-signature :dkim-filter; bh=rxHKdsUNLKbDsn84G6KYcfQP7IsFg+NK27RAAOVlDdI=; b=HJF2U9jor+xeOFFw7fKyOZ8+kpJpctgptCPfwXCItKEMoOiO5txv0nuJnOcsQKCDqR ixHrR3QeJBAWTzdB+SET0XlmOJhx6EoL7Ij2hSH1g059hUWGdQSl7jYM9PqiHqoxaaTh q9EuoefCltqZY2KtypDIZPbAKIu0RcHDHBOyL7/BmsRqqiSu1bZshxKlW55uD2XwchZH BChmhNgPrX8vqH2ZxxPeKHxwnEDxxkK2I9CdW/W6IgYh9m+veWpwxROsUooI85OcXr5w vf2mGFUzXE8iGP1vU1Y8btheLxubAmFVV1QQtMFjEpawBizsW44jvDkLsSTw5lSrMwxh gYFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=rsLRk49v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si29273020ioq.17.2021.07.21.14.44.07; Wed, 21 Jul 2021 14:44:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=rsLRk49v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229921AbhGUVAd (ORCPT + 99 others); Wed, 21 Jul 2021 17:00:33 -0400 Received: from linux.microsoft.com ([13.77.154.182]:42980 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229676AbhGUVAd (ORCPT ); Wed, 21 Jul 2021 17:00:33 -0400 Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id 1632120B7178; Wed, 21 Jul 2021 14:41:09 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 1632120B7178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1626903669; bh=rxHKdsUNLKbDsn84G6KYcfQP7IsFg+NK27RAAOVlDdI=; h=From:To:Subject:Date:From; b=rsLRk49v2xQ6YXT5xk79qL+c4WPqyYFbG1hsdBBBYE69cOViS1Bc4ToYNUUnln1GT aLrxhCKHtzZ1Tm8SwQMGDAGPbxZsfEqZaCQKjjbNeJCfa73ZevYksOp26uVPH38qtW Op76G6ASCXirxhSJsJPXe+DpKOoTM1O0XGm/TYps= From: Sonia Sharma To: "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, Sonia Sharma Subject: [PATCH] hv: Remove unused inline functions in hyperv.h Date: Wed, 21 Jul 2021 14:41:03 -0700 Message-Id: <1626903663-23615-1-git-send-email-sosha@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sonia Sharma There are some unused inline functions in hyperv header file. Remove those unused functions. Signed-off-by: Sonia Sharma --- 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