copy: remove obsolete variable

This commit is contained in:
Thomas Schoebel-Theuer 2017-03-01 07:15:59 +01:00
parent e5647b7a9b
commit 85ca001f9f
1 changed files with 0 additions and 4 deletions

View File

@ -730,7 +730,6 @@ bool _is_done(struct copy_brick *brick)
static int _copy_thread(void *data)
{
struct copy_brick *brick = data;
int rounds = 0;
MARS_DBG("--------------- copy_thread %p starting\n", brick);
brick->copy_error = 0;
@ -749,9 +748,6 @@ static int _copy_thread(void *data)
int progress = 0;
if (old_end > 0) {
progress = _run_copy(brick);
if (!progress || ++rounds > 1000) {
rounds = 0;
}
}
wait_event_interruptible_timeout(brick->event,