mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
cciss: Remove unnecessary check in scan_thread
cciss: Remove unnecessary check in scan_thread Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
b0e15f6db1
commit
d06dfbd236
1 changed files with 5 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue