From d71a2bceebc317a9fbf67fd041d458b156046c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Tue, 14 May 2002 12:17:49 +0000 Subject: [PATCH] Removed calls to disk stub git-svn-id: svn://svn.rockbox.org/rockbox/trunk@573 a1c6a512-1295-4272-9138-f99709370657 --- firmware/settings.c | 79 --------------------------------------------- 1 file changed, 79 deletions(-) diff --git a/firmware/settings.c b/firmware/settings.c index d2f72e759f..5d0c95a865 100644 --- a/firmware/settings.c +++ b/firmware/settings.c @@ -29,63 +29,6 @@ */ int persist_all_settings( void ) { - if( ! persist_volume_setting() ) - { - panicf( "failed to persist volume setting" ); - } - - if( ! persist_balance_setting() ) - { - panicf( "failed to persist balance setting" ); - } - - if( ! persist_bass_setting() ) - { - panicf( "failed to persist bass setting" ); - } - - if( ! persist_treble_setting() ) - { - panicf( "failed to persist treble setting" ); - } - - if( ! persist_loudness_setting() ) - { - panicf( "failed to persist loudness setting" ); - } - - if( ! persist_bass_boost_setting() ) - { - panicf( "failed to persist bass boost setting" ); - } - - if( ! persist_contrast_setting() ) - { - panicf( "failed to persist contrast setting" ); - } - - if( ! persist_poweroff_setting() ) - { - panicf( "failed to persist poweroff setting" ); - } - - if( ! persist_backlight_setting() ) - { - panicf( "failed to persist backlight setting" ); - } - - if( ! persist_poweroff_setting() ) - { - panicf( "failed to persist poweroff setting" ); - } - - if( ! persist_resume_setting() ) - { - panicf( "failed to persist resume setting" ); - } - - /* by getting here, we had no problems */ - return 1; } @@ -94,28 +37,6 @@ int persist_all_settings( void ) */ int persist_all_playlist_info( void ) { - if( ! persist_playlist_filename() ) - { - panicf( "failed to persist playlist filename" ); - } - - if( ! persist_playlist_indices() ) - { - panicf( "failed to persist playlist indices" ); - } - - if( ! persist_playlist_index() ) - { - panicf( "failed to persist playlist index" ); - } - - if( ! persist_resume_track_time() ) - { - panicf( "failed to persist resume track time" ); - } - - /* by getting here, we had no problems */ - return 1; }