Commit 7c33278
scsi: ufs: delete redundant function ufshcd_def_desc_sizes()
[ Upstream commit 059efd8 ]
There is no need to call ufshcd_def_desc_sizes() in ufshcd_init(), since
descriptor lengths will be checked and initialized later in
ufshcd_init_desc_sizes().
Fixes: a4b0e8a(scsi: ufs: Factor out ufshcd_read_desc_param)
Link: https://lore.kernel.org/r/BN7PR08MB5684A3ACE214C3D4792CE729DB610@BN7PR08MB5684.namprd08.prod.outlook.com
Signed-off-by: Bean Huo <beanhuo@micron.com>
Acked-by: Avri Altman <avri.altman.wdc.com>
Reviewed-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 7139477 commit 7c33278
1 file changed
Lines changed: 1 addition & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6779 | 6779 | | |
6780 | 6780 | | |
6781 | 6781 | | |
| 6782 | + | |
6782 | 6783 | | |
6783 | 6784 | | |
6784 | 6785 | | |
6785 | 6786 | | |
6786 | 6787 | | |
6787 | 6788 | | |
6788 | | - | |
6789 | | - | |
6790 | | - | |
6791 | | - | |
6792 | | - | |
6793 | | - | |
6794 | | - | |
6795 | | - | |
6796 | | - | |
6797 | | - | |
6798 | | - | |
6799 | 6789 | | |
6800 | 6790 | | |
6801 | 6791 | | |
| |||
8283 | 8273 | | |
8284 | 8274 | | |
8285 | 8275 | | |
8286 | | - | |
8287 | | - | |
8288 | | - | |
8289 | 8276 | | |
8290 | 8277 | | |
8291 | 8278 | | |
| |||
0 commit comments