[PATCH 4/5] staging: gasket: remove gasket_interrupt_get_msix_entries()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No one calls it, it is claimed to be "legacy", whatever that means, so
just remove the dead code.

Cc: Rob Springer <rspringer@xxxxxxxxxx>
Cc: John Joseph <jnjoseph@xxxxxxxxxx>
Cc: Ben Chan <benchan@xxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/staging/gasket/gasket_interrupt.c |  6 ------
 drivers/staging/gasket/gasket_interrupt.h | 10 ----------
 2 files changed, 16 deletions(-)

diff --git a/drivers/staging/gasket/gasket_interrupt.c b/drivers/staging/gasket/gasket_interrupt.c
index 691996d84cad..d096ce73cc8b 100644
--- a/drivers/staging/gasket/gasket_interrupt.c
+++ b/drivers/staging/gasket/gasket_interrupt.c
@@ -504,12 +504,6 @@ int gasket_interrupt_clear_eventfd(
 	return 0;
 }
 
-struct msix_entry *gasket_interrupt_get_msix_entries(
-	struct gasket_interrupt_data *interrupt_data)
-{
-	return interrupt_data->msix_entries;
-}
-
 static ssize_t interrupt_sysfs_show(
 	struct device *device, struct device_attribute *attr, char *buf)
 {
diff --git a/drivers/staging/gasket/gasket_interrupt.h b/drivers/staging/gasket/gasket_interrupt.h
index 5b65d052abc7..805fee64569f 100644
--- a/drivers/staging/gasket/gasket_interrupt.h
+++ b/drivers/staging/gasket/gasket_interrupt.h
@@ -105,16 +105,6 @@ int gasket_interrupt_clear_eventfd(
  * The below functions exist for backwards compatibility.
  * No new uses should be written.
  */
-/*
- * Retrieve a pointer to data's MSI-X
- * entries.
- * @data: The interrupt data from which to extract.
- *
- * Returns the internal pointer to data's MSI-X entries.
- */
-struct msix_entry *gasket_interrupt_get_msix_entries(
-	struct gasket_interrupt_data *interrupt_data);
-
 /*
  * Get the health of the interrupt subsystem.
  * @gasket_dev: The Gasket device struct.
-- 
2.18.0

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux