diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-13 12:05:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-14 09:16:28 +0200 |
commit | af3abc4414cb94929be4940f3d9c02fea3f0b5c8 (patch) | |
tree | b4ed7a06e8005a60184f6a5343bfc84606892fae /drivers/staging/gasket/gasket_page_table.c | |
parent | 4c89a44dd907644743fe24ad92fdf1f15889fb60 (diff) |
staging: gasket: remove gasket_page_table_num_extended_entries()
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>
Diffstat (limited to 'drivers/staging/gasket/gasket_page_table.c')
-rw-r--r-- | drivers/staging/gasket/gasket_page_table.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/gasket/gasket_page_table.c b/drivers/staging/gasket/gasket_page_table.c index 3de7f8c400c9..dcd52e141f95 100644 --- a/drivers/staging/gasket/gasket_page_table.c +++ b/drivers/staging/gasket/gasket_page_table.c @@ -640,17 +640,6 @@ uint gasket_page_table_num_simple_entries(struct gasket_page_table *pg_tbl) EXPORT_SYMBOL(gasket_page_table_num_simple_entries); /* See gasket_page_table.h for description. */ -uint gasket_page_table_num_extended_entries(struct gasket_page_table *pg_tbl) -{ - if (!pg_tbl) { - gasket_nodev_error("Passed a null page table."); - return 0; - } - - return pg_tbl->num_extended_entries; -} -EXPORT_SYMBOL(gasket_page_table_num_extended_entries); - uint gasket_page_table_num_active_pages(struct gasket_page_table *pg_tbl) { if (!pg_tbl) { |