From 9188f0ffd7ce97101a5b2d697cc43072cd63b502 Mon Sep 17 00:00:00 2001 From: Alexander Levin Date: Sun, 5 Apr 2009 19:39:09 +0000 Subject: Drop the unnecessary checks since they are made by the caller git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20632 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 8256fee84f..32a27212a4 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c @@ -92,8 +92,7 @@ static void change_dir(int direction) static void prev_track(unsigned long skip_thresh) { - if (!global_settings.prevent_skip - && (wps_state.id3->elapsed < skip_thresh)) + if (wps_state.id3->elapsed < skip_thresh) { audio_prev(); return; @@ -124,8 +123,6 @@ static void prev_track(unsigned long skip_thresh) static void next_track(void) { - if (global_settings.prevent_skip) - return; /* take care of if we're playing a cuesheet */ if (cuesheet_is_enabled() && wps_state.id3->cuesheet_type) { -- cgit v1.2.3