From f09b915b37ed827854d904b50dccd531da8dcc99 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 13 Jul 2018 12:05:52 +0200 Subject: [PATCH] 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 Cc: John Joseph Cc: Ben Chan Signed-off-by: Greg Kroah-Hartman --- drivers/staging/gasket/gasket_interrupt.c | 7 ------- drivers/staging/gasket/gasket_interrupt.h | 12 ------------ 2 files changed, 19 deletions(-) diff --git a/drivers/staging/gasket/gasket_interrupt.c b/drivers/staging/gasket/gasket_interrupt.c index 922ffd5..3ea168f 100644 --- a/drivers/staging/gasket/gasket_interrupt.c +++ b/drivers/staging/gasket/gasket_interrupt.c @@ -522,13 +522,6 @@ struct msix_entry *gasket_interrupt_get_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( 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 44ceede..f0586a6 100644 --- a/drivers/staging/gasket/gasket_interrupt.h +++ b/drivers/staging/gasket/gasket_interrupt.h @@ -129,18 +129,6 @@ struct msix_entry *gasket_interrupt_get_msix_entries( 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. * @gasket_dev: The Gasket device struct. * -- 2.7.4