[PATCH v2 -next] Drivers: hv: vmbus: Remove unused extern declaration vmbus_ontimer()

YueHaibing posted 1 patch 2 years, 6 months ago
include/linux/hyperv.h | 3 ---
1 file changed, 3 deletions(-)
[PATCH v2 -next] Drivers: hv: vmbus: Remove unused extern declaration vmbus_ontimer()
Posted by YueHaibing 2 years, 6 months ago
Since commit 30fbee49b071 ("Staging: hv: vmbus: Get rid of the unused function vmbus_ontimer()")
this is not used anymore, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
---
v2: change prefix "Drivers: hv: vmbus:" 
---
 include/linux/hyperv.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index bfbc37ce223b..3ac3974b3c78 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -1239,9 +1239,6 @@ extern int vmbus_recvpacket_raw(struct vmbus_channel *channel,
 				     u32 *buffer_actual_len,
 				     u64 *requestid);
 
-
-extern void vmbus_ontimer(unsigned long data);
-
 /* Base driver object */
 struct hv_driver {
 	const char *name;
-- 
2.34.1
Re: [PATCH v2 -next] Drivers: hv: vmbus: Remove unused extern declaration vmbus_ontimer()
Posted by Wei Liu 2 years, 6 months ago
On Tue, Jul 25, 2023 at 10:21:08PM +0800, YueHaibing wrote:
> Since commit 30fbee49b071 ("Staging: hv: vmbus: Get rid of the unused function vmbus_ontimer()")
> this is not used anymore, so can remove it.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Reviewed-by: Michael Kelley <mikelley@microsoft.com>

Applied to hyperv-fixes, thanks!