qla2x00t: Fix if/else coding style

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7457 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-08-03 03:01:04 +00:00
parent 30cf7b4bda
commit 1b18174c12
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -987,8 +987,7 @@ qla24xx_reset_risc(scsi_qla_host_t *vha)
if (++abts_cnt < 5) {
set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
set_bit(MPI_RESET_NEEDED, &vha->dpc_flags);
}
else {
} else {
/*
* We exhausted the ISP abort retries. We have to
* set the board offline.
+1 -2
View File
@@ -1252,8 +1252,7 @@ qla24xx_els_ct_entry(scsi_qla_host_t *vha, struct req_que *req,
}
ql_dump_buffer(ql_dbg_user + ql_dbg_buffer, vha, 0x5056,
(uint8_t *)pkt, sizeof(*pkt));
}
else {
} else {
#ifndef NEW_LIBFC_API
bsg_job->reply->reply_payload_rcv_len = bsg_job->reply_payload.payload_len;
#else