Skip to content

Commit

Permalink
staging: gasket: remove gasket_interrupt_get_msix_entries()
Browse files Browse the repository at this point in the history
No one calls it, it is claimed to be "legacy", whatever that means, so
just remove the dead code.

Cc: Rob Springer <[email protected]>
Cc: John Joseph <[email protected]>
Cc: Ben Chan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
gregkh committed Jul 14, 2018
1 parent b194095 commit 4c89a44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/gasket/gasket_interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
10 changes: 0 additions & 10 deletions drivers/staging/gasket/gasket_interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4c89a44

Please sign in to comment.