Remove useless call of is_mounted

This commit is contained in:
wbaumann
2016-04-09 19:46:26 +00:00
parent dfe67b208a
commit accd18e7f1
2 changed files with 4 additions and 2 deletions

View File

@ -330,8 +330,6 @@ dav_run_msgloop(volatile int *keep_on_running)
break;
}
} else if (ret == 0) {
if (!dav_is_mounted())
break;
if (dav_tidy_cache() == 0) {
tv.tv_sec = idle_time;
last_tidy_cache = time(NULL);