mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 03:27:30 -04:00
ptp: vmw: Drop ptp_vmw_acpi_device
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> Link: https://patch.msgid.link/24384916.6Emhk5qWAg@rafael.j.wysocki Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
ff205bf8c5
commit
f65d40643e
@@ -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 platform_device *pdev)
|
||||
pr_err("failed to register ptp clock\n");
|
||||
return PTR_ERR(ptp_vmw_clock);
|
||||
}
|
||||
|
||||
ptp_vmw_acpi_device = ACPI_COMPANION(&pdev->dev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user