forked from MIrrors/gasket-driver
staging: gasket: remove gasket_interrupt_get_eventfd_ctxs()
It is exported, yet no one calls it 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>
This commit is contained in:
committed by
Alex Van Damme
parent
5335078357
commit
e7d963fa61
@@ -522,13 +522,6 @@ struct msix_entry *gasket_interrupt_get_msix_entries(
|
|||||||
return interrupt_data->msix_entries;
|
return interrupt_data->msix_entries;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct eventfd_ctx **gasket_interrupt_get_eventfd_ctxs(
|
|
||||||
struct gasket_interrupt_data *interrupt_data)
|
|
||||||
{
|
|
||||||
return interrupt_data->eventfd_ctxs;
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL(gasket_interrupt_get_eventfd_ctxs);
|
|
||||||
|
|
||||||
static ssize_t interrupt_sysfs_show(
|
static ssize_t interrupt_sysfs_show(
|
||||||
struct device *device, struct device_attribute *attr, char *buf)
|
struct device *device, struct device_attribute *attr, char *buf)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -128,18 +128,6 @@ int gasket_interrupt_trigger_eventfd(
|
|||||||
struct msix_entry *gasket_interrupt_get_msix_entries(
|
struct msix_entry *gasket_interrupt_get_msix_entries(
|
||||||
struct gasket_interrupt_data *interrupt_data);
|
struct gasket_interrupt_data *interrupt_data);
|
||||||
|
|
||||||
/*
|
|
||||||
* Get a pointer to data's eventfd contexts.
|
|
||||||
* @data: The interrupt data from which to extract.
|
|
||||||
*
|
|
||||||
* Returns the internal pointer to data's eventfd contexts.
|
|
||||||
*
|
|
||||||
* This function exists for backwards compatibility with older drivers.
|
|
||||||
* No new uses should be written.
|
|
||||||
*/
|
|
||||||
struct eventfd_ctx **gasket_interrupt_get_eventfd_ctxs(
|
|
||||||
struct gasket_interrupt_data *interrupt_data);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the health of the interrupt subsystem.
|
* Get the health of the interrupt subsystem.
|
||||||
* @gasket_dev: The Gasket device struct.
|
* @gasket_dev: The Gasket device struct.
|
||||||
|
|||||||
Reference in New Issue
Block a user