]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
x86/hpet: Remove the unused hpet_msi_read() function
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2019 13:23:46 +0000 (15:23 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Jun 2019 22:57:16 +0000 (00:57 +0200)
No users.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Andi Kleen <andi.kleen@intel.com>
Cc: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Ravi Shankar <ravi.v.shankar@intel.com>
Link: https://lkml.kernel.org/r/20190623132434.553729327@linutronix.de
arch/x86/include/asm/hpet.h
arch/x86/kernel/hpet.c

index 67385d56d4f48e04841f5c743f75a834e3f94216..e3209f5de65d796b643cb4d4fdf044c0ba07eb31 100644 (file)
@@ -81,7 +81,6 @@ struct irq_domain;
 extern void hpet_msi_unmask(struct irq_data *data);
 extern void hpet_msi_mask(struct irq_data *data);
 extern void hpet_msi_write(struct hpet_dev *hdev, struct msi_msg *msg);
-extern void hpet_msi_read(struct hpet_dev *hdev, struct msi_msg *msg);
 extern struct irq_domain *hpet_create_irq_domain(int hpet_id);
 extern int hpet_assign_irq(struct irq_domain *domain,
                           struct hpet_dev *dev, int dev_num);
index b2ec52a7773d79823317f759f4650200cb0e9bfb..69cd0829f4327bcc3eebbfd33ebfe620c9741807 100644 (file)
@@ -462,13 +462,6 @@ void hpet_msi_write(struct hpet_dev *hdev, struct msi_msg *msg)
        hpet_writel(msg->address_lo, HPET_Tn_ROUTE(hdev->num) + 4);
 }
 
-void hpet_msi_read(struct hpet_dev *hdev, struct msi_msg *msg)
-{
-       msg->data = hpet_readl(HPET_Tn_ROUTE(hdev->num));
-       msg->address_lo = hpet_readl(HPET_Tn_ROUTE(hdev->num) + 4);
-       msg->address_hi = 0;
-}
-
 static int hpet_msi_shutdown(struct clock_event_device *evt)
 {
        struct hpet_dev *hdev = EVT_TO_HPET_DEV(evt);