ptp: vmw: Drop ptp_vmw_acpi_device
Subsystems (5)
Rafael J. Wysocki
maintainerPATCH 1/1 ptp: vmw: Drop ptp_vmw_acpi_device
From: "Rafael J. Wysocki" <[email protected]>
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 <[email protected]>
--- drivers/ptp/ptp_vmw.c | 3 --- 1 file changed, 3 deletions(-)
drivers/ptp/ptp_vmw.c +0 -3
@@ -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 plapr_err ("failed to register ptp clock\n" );return PTR_ERR (ptp_vmw_clock); } - - ptp_vmw_acpi_device =ACPI_COMPANION (&pdev->dev);return 0 ; }
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Tue, 12 May 2026 18:41:45 +0200 you wrote:
From: "Rafael J. Wysocki" <[email protected]>
Static variable
ptp_vmw_acpi_devicein theptp_vmwdriver 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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html