All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] ptp: vmw: Drop ptp_vmw_acpi_device
@ 2026-05-12 16:41 Rafael J. Wysocki
  2026-05-15  0:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2026-05-12 16:41 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: Nick Shi, Ajay Kaher, Alexey Makhalov,
	Broadcom internal kernel review list, Richard Cochran,
	Andrew Lunn, David S. Miller, Eric Dumazet, Paolo Abeni, netdev,
	Linux ACPI, LKML

From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>

Static variable ptp_vmw_acpi_device in the ptp_vmw driver is assigned,
but never used, so drop it.

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
 drivers/ptp/ptp_vmw.c |    3 ---
 1 file changed, 3 deletions(-)

--- a/drivers/ptp/ptp_vmw.c
+++ b/drivers/ptp/ptp_vmw.c
@@ -18,7 +18,6 @@
 #define VMWARE_CMD_PCLK(nr) ((nr << 16) | 97)
 #define VMWARE_CMD_PCLK_GETTIME VMWARE_CMD_PCLK(0)
 
-static struct acpi_device *ptp_vmw_acpi_device;
 static struct ptp_clock *ptp_vmw_clock;
 
 
@@ -91,8 +90,6 @@ static int ptp_vmw_acpi_probe(struct pla
 		pr_err("failed to register ptp clock\n");
 		return PTR_ERR(ptp_vmw_clock);
 	}
-
-	ptp_vmw_acpi_device = ACPI_COMPANION(&pdev->dev);
 	return 0;
 }
 




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] ptp: vmw: Drop ptp_vmw_acpi_device
  2026-05-12 16:41 [PATCH v1] ptp: vmw: Drop ptp_vmw_acpi_device Rafael J. Wysocki
@ 2026-05-15  0:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-05-15  0:10 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: kuba, nick.shi, ajay.kaher, alexey.makhalov,
	bcm-kernel-feedback-list, richardcochran, andrew+netdev, davem,
	edumazet, pabeni, netdev, linux-acpi, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 12 May 2026 18:41:45 +0200 you wrote:
> From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
> 
> Static variable ptp_vmw_acpi_device in the ptp_vmw driver is assigned,
> but never used, so drop it.
> 
> No functional impact.
> 
> [...]

Here is the summary with links:
  - [v1] ptp: vmw: Drop ptp_vmw_acpi_device
    https://git.kernel.org/netdev/net-next/c/f65d40643e42

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-15  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 16:41 [PATCH v1] ptp: vmw: Drop ptp_vmw_acpi_device Rafael J. Wysocki
2026-05-15  0:10 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.