Commit b6195d0
scsi: ufs: core: Remove code that is no longer needed
Previous changes guarantee that hba->scsi_host_added is true before
ufshcd_device_init() is called. Hence, remove the code from
ufshcd_device_init() that depends on hba->scsi_host_added being false.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241016201249.2256266-10-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent a390e66 commit b6195d0
1 file changed
Lines changed: 4 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8753 | 8753 | | |
8754 | 8754 | | |
8755 | 8755 | | |
8756 | | - | |
| 8756 | + | |
| 8757 | + | |
8757 | 8758 | | |
8758 | 8759 | | |
8759 | 8760 | | |
| |||
8794 | 8795 | | |
8795 | 8796 | | |
8796 | 8797 | | |
8797 | | - | |
8798 | | - | |
8799 | | - | |
8800 | | - | |
8801 | | - | |
8802 | | - | |
8803 | | - | |
8804 | | - | |
8805 | | - | |
8806 | | - | |
8807 | | - | |
8808 | | - | |
8809 | | - | |
8810 | | - | |
8811 | | - | |
8812 | | - | |
8813 | | - | |
8814 | | - | |
8815 | | - | |
8816 | | - | |
8817 | | - | |
| 8798 | + | |
| 8799 | + | |
8818 | 8800 | | |
8819 | 8801 | | |
8820 | 8802 | | |
| |||
0 commit comments