projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b43abcb
)
scsi: fnic: minor cleanup in fnic_fcpio_itmf_cmpl_handler, removing else case
author
Satish Kharat
<
[email protected]
>
Wed, 1 Mar 2017 00:14:33 +0000
(16:14 -0800)
committer
Martin K. Petersen
<
[email protected]
>
Thu, 23 Mar 2017 13:51:25 +0000
(09:51 -0400)
Getting rid of else case to make the flow look bit simpler.
Signed-off-by: Satish Kharat <
[email protected]
>
Signed-off-by: Sesidhar Baddela <
[email protected]
>
Signed-off-by: Martin K. Petersen <
[email protected]
>
drivers/scsi/fnic/fnic_scsi.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/fnic/fnic_scsi.c
b/drivers/scsi/fnic/fnic_scsi.c
index adb3d5871e743442e04014cd2f86eae15ab27912..5e694a591c9d2056fbd20fa3e42e63b96e7fc896 100644
(file)
--- a/
drivers/scsi/fnic/fnic_scsi.c
+++ b/
drivers/scsi/fnic/fnic_scsi.c
@@
-1128,12
+1128,11
@@
static void fnic_fcpio_itmf_cmpl_handler(struct fnic *fnic,
}
CMD_FLAGS(sc) |= FNIC_IO_ABT_TERM_DONE;
+ CMD_ABTS_STATUS(sc) = hdr_status;
/* If the status is IO not found consider it as success */
if (hdr_status == FCPIO_IO_NOT_FOUND)
CMD_ABTS_STATUS(sc) = FCPIO_SUCCESS;
- else
- CMD_ABTS_STATUS(sc) = hdr_status;
atomic64_dec(&fnic_stats->io_stats.active_ios);
if (atomic64_read(&fnic->io_cmpl_skip))