target/pscsi: Drop unnecessary NULL assignment to bio->bi_next

Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
Asias He 2013-02-27 13:29:28 +08:00 коммит произвёл Nicholas Bellinger
Родитель 63b91d5a49
Коммит b07da9fb52
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -952,7 +952,6 @@ fail:
while (*hbio) {
bio = *hbio;
*hbio = (*hbio)->bi_next;
bio->bi_next = NULL;
bio_endio(bio, 0); /* XXX: should be error */
}
return TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE;
@ -1092,7 +1091,6 @@ fail_free_bio:
while (hbio) {
struct bio *bio = hbio;
hbio = hbio->bi_next;
bio->bi_next = NULL;
bio_endio(bio, 0); /* XXX: should be error */
}
ret = TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE;