summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-04-05 19:39:09 +0000
committerAlexander Levin <al.le@rockbox.org>2009-04-05 19:39:09 +0000
commit9188f0ffd7ce97101a5b2d697cc43072cd63b502 (patch)
tree77ab09cf1bf11606435f305d7077864245619f81
parentbe7f5253a1dfa51455a092bb08c0b1d7d633b2b3 (diff)
downloadrockbox-9188f0ffd7ce97101a5b2d697cc43072cd63b502.tar.gz
rockbox-9188f0ffd7ce97101a5b2d697cc43072cd63b502.tar.bz2
rockbox-9188f0ffd7ce97101a5b2d697cc43072cd63b502.zip
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
-rw-r--r--apps/gui/gwps.c5
1 files changed, 1 insertions, 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)
{