mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 23:51:46 +00:00
scsi: zfcp: clean up redundant code with fall through in link down SRB switch case
Signed-off-by: Martin Peschke <mpeschke@linux.vnet.ibm.com> [maier@linux.vnet.ibm.com: re-worded short description for more details] Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.vnet.ibm.com> Signed-off-by: Benjamin Block <bblock@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
5b2fc2a12c
commit
5f03e98b0f
@ -197,8 +197,6 @@ static void zfcp_fsf_status_read_link_down(struct zfcp_fsf_req *req)
|
|||||||
|
|
||||||
switch (sr_buf->status_subtype) {
|
switch (sr_buf->status_subtype) {
|
||||||
case FSF_STATUS_READ_SUB_NO_PHYSICAL_LINK:
|
case FSF_STATUS_READ_SUB_NO_PHYSICAL_LINK:
|
||||||
zfcp_fsf_link_down_info_eval(req, ldi);
|
|
||||||
break;
|
|
||||||
case FSF_STATUS_READ_SUB_FDISC_FAILED:
|
case FSF_STATUS_READ_SUB_FDISC_FAILED:
|
||||||
zfcp_fsf_link_down_info_eval(req, ldi);
|
zfcp_fsf_link_down_info_eval(req, ldi);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user