Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d06dfbd2 authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by Jens Axboe
Browse files

cciss: Remove unnecessary check in scan_thread



cciss: Remove unnecessary check in scan_thread

Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent b0e15f6d
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -3386,7 +3386,6 @@ static int scan_thread(void *data)
			h->busy_scanning = 1;
			mutex_unlock(&scan_mutex);

			if (h) {
			rebuild_lun_table(h, 0, 0);
			complete_all(&h->scan_wait);
			mutex_lock(&scan_mutex);
@@ -3394,7 +3393,6 @@ static int scan_thread(void *data)
			mutex_unlock(&scan_mutex);
		}
	}
	}

	return 0;
}