staging: gasket: remove gasket_interrupt_get_msix_entries()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Jul 2018 10:05:54 +0000 (12:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Jul 2018 07:16:28 +0000 (09:16 +0200)
No one calls it, it is claimed to be "legacy", whatever that means, so
just remove the dead code.

Cc: Rob Springer <rspringer@google.com>
Cc: John Joseph <jnjoseph@google.com>
Cc: Ben Chan <benchan@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_interrupt.c
drivers/staging/gasket/gasket_interrupt.h

index 691996d84cad0e1b0d66fcd2b7c55ec582f9ab15..d096ce73cc8b34bdf7934e90bba1d33476c7d8b0 100644 (file)
@@ -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)
 {
index 5b65d052abc7531711dd1680a2763a4638b0804a..805fee64569faf7bab1d310b7abe7e231b1ad597 100644 (file)
@@ -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.