summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gasket/gasket_interrupt.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2018-07-13 12:05:53 +0200
committerGreg Kroah-Hartman2018-07-14 09:16:28 +0200
commitb19409549bffc4e5b4e3940d825cec5edb606959 (patch)
tree1afc7bf81885ce3b3aaf48def253a32dd0b03f6f /drivers/staging/gasket/gasket_interrupt.h
parentstaging: gasket: remove gasket_interrupt_get_eventfd_ctxs() (diff)
downloadkernel-qcow2-linux-b19409549bffc4e5b4e3940d825cec5edb606959.tar.gz
kernel-qcow2-linux-b19409549bffc4e5b4e3940d825cec5edb606959.tar.xz
kernel-qcow2-linux-b19409549bffc4e5b4e3940d825cec5edb606959.zip
staging: gasket: remove gasket_interrupt_trigger_eventfd()
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>
Diffstat (limited to 'drivers/staging/gasket/gasket_interrupt.h')
-rw-r--r--drivers/staging/gasket/gasket_interrupt.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/gasket/gasket_interrupt.h b/drivers/staging/gasket/gasket_interrupt.h
index f0586a6898ec..5b65d052abc7 100644
--- a/drivers/staging/gasket/gasket_interrupt.h
+++ b/drivers/staging/gasket/gasket_interrupt.h
@@ -102,19 +102,6 @@ int gasket_interrupt_clear_eventfd(
struct gasket_interrupt_data *interrupt_data, int interrupt);
/*
- * Signals the eventfd associated with interrupt.
- * @data: Pointer to device interrupt data.
- * @interrupt: The device interrupt to signal for.
- *
- * Simulates a device interrupt by signaling the eventfd associated with
- * interrupt, if any.
- * Returns 0 if the eventfd was successfully triggered, a negative error code
- * otherwise (if, for example, no eventfd was associated with interrupt).
- */
-int gasket_interrupt_trigger_eventfd(
- struct gasket_interrupt_data *interrupt_data, int interrupt);
-
-/*
* The below functions exist for backwards compatibility.
* No new uses should be written.
*/