]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: zfcp: proper indentation to reduce confusion in zfcp_erp_required_act
authorSteffen Maier <maier@linux.ibm.com>
Fri, 25 Oct 2019 16:12:52 +0000 (18:12 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Oct 2019 02:16:15 +0000 (22:16 -0400)
commite76acc51942649398660ca50655af5afecf29c42
tree4a2984b774aaed76b839a892e7722e52fa1aad22
parent48910f8c35cfd250d806f3e03150d256f40b6d4c
scsi: zfcp: proper indentation to reduce confusion in zfcp_erp_required_act

No functional change.

The unary not operator only applies to the sub expression before the
logical or. So we return early if (not running) or failed.

Link: https://lore.kernel.org/r/df4f897f6e83eaa528465d0858d5a22daac47a2f.1572018132.git.bblock@linux.ibm.com
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/s390/scsi/zfcp_erp.c