diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-13 12:05:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-14 09:16:28 +0200 |
commit | b19409549bffc4e5b4e3940d825cec5edb606959 (patch) | |
tree | 1afc7bf81885ce3b3aaf48def253a32dd0b03f6f /drivers/staging/gasket/gasket_interrupt.c | |
parent | f09b915b37ed827854d904b50dccd531da8dcc99 (diff) |
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.c')
-rw-r--r-- | drivers/staging/gasket/gasket_interrupt.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/gasket/gasket_interrupt.c b/drivers/staging/gasket/gasket_interrupt.c index 3ea168fd9b51..691996d84cad 100644 --- a/drivers/staging/gasket/gasket_interrupt.c +++ b/drivers/staging/gasket/gasket_interrupt.c @@ -504,18 +504,6 @@ int gasket_interrupt_clear_eventfd( return 0; } -int gasket_interrupt_trigger_eventfd( - struct gasket_interrupt_data *interrupt_data, int interrupt) -{ - struct eventfd_ctx *ctx = interrupt_data->eventfd_ctxs[interrupt]; - - if (!ctx) - return -EINVAL; - - eventfd_signal(ctx, 1); - return 0; -} - struct msix_entry *gasket_interrupt_get_msix_entries( struct gasket_interrupt_data *interrupt_data) { |