From 8e6030c8223bfb3102048b2daccbf6a6f4e97ba2 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Wed, 14 Dec 2011 21:45:25 +0000 Subject: FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'apps/gui/list.c') diff --git a/apps/gui/list.c b/apps/gui/list.c index 4f1d3833d6..c53a1f559c 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -778,13 +778,6 @@ bool list_do_action(int context, int timeout, return gui_synclist_do_button(lists, action, wrap); } -bool gui_synclist_item_is_onscreen(struct gui_synclist *lists, - enum screen_type screen, int item) -{ - int nb_lines = list_get_nb_lines(lists, screen); - return (unsigned)(item - lists->start_item[screen]) < (unsigned) nb_lines; -} - /* Simple use list implementation */ static int simplelist_line_count = 0; static char simplelist_text[SIMPLELIST_MAX_LINES][SIMPLELIST_MAX_LINELENGTH]; -- cgit v1.2.3