Commit 17883cd
scsi: megaraid_sas: Simplify megasas_update_device_list
Remove unnecessary dcmd_ret check and goto statement.
Link: https://lore.kernel.org/r/1663145283-4872-4-git-send-email-kanie@linux.alibaba.com
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 9b201b5 commit 17883cd
1 file changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8768 | 8768 | | |
8769 | 8769 | | |
8770 | 8770 | | |
8771 | | - | |
| 8771 | + | |
8772 | 8772 | | |
8773 | 8773 | | |
8774 | | - | |
8775 | | - | |
8776 | | - | |
| 8774 | + | |
8777 | 8775 | | |
8778 | 8776 | | |
8779 | 8777 | | |
8780 | | - | |
8781 | 8778 | | |
8782 | | - | |
| 8779 | + | |
8783 | 8780 | | |
8784 | 8781 | | |
8785 | 8782 | | |
8786 | 8783 | | |
8787 | 8784 | | |
8788 | | - | |
| 8785 | + | |
8789 | 8786 | | |
8790 | | - | |
8791 | | - | |
8792 | 8787 | | |
8793 | 8788 | | |
8794 | 8789 | | |
8795 | | - | |
8796 | | - | |
8797 | | - | |
| 8790 | + | |
8798 | 8791 | | |
8799 | 8792 | | |
8800 | 8793 | | |
| |||
0 commit comments