diff --git a/apps/main.c b/apps/main.c index 8643acc9f2..7a29e90ab0 100644 --- a/apps/main.c +++ b/apps/main.c @@ -201,7 +201,6 @@ int main(void) #if !defined(BOOTLOADER) allocate_playback_log(); - static char playername[64]; if (!file_exists(ROCKBOX_DIR"/playername.txt")) { int fd = open(ROCKBOX_DIR"/playername.txt", O_CREAT|O_WRONLY|O_TRUNC, 0666); @@ -211,17 +210,6 @@ int main(void) close(fd); } } - else - { - int fd = open(ROCKBOX_DIR"/playername.txt", O_RDONLY); - if(fd >= 0) - { - read_line(fd, playername, sizeof(playername)); - close(fd); - if (strcmp(playername, MODEL_NAME) != 0) - splashf(HZ * 2, "%s", playername); - } - } #endif #ifdef AUTOROCK