Commit 31a5d9c
scsi: ufs: Un-inline ufshcd_vops_device_reset function
More and more statements are being added to ufshcd_vops_device_reset() and
this function is being called from multiple locations in the driver.
Un-inline the function to allow the compiler to make better decisions.
Link: https://lore.kernel.org/r/20201208135635.15326-3-stanley.chu@mediatek.com
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent bd14bf0 commit 31a5d9c
2 files changed
Lines changed: 27 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
584 | 601 | | |
585 | 602 | | |
586 | 603 | | |
| |||
3933 | 3950 | | |
3934 | 3951 | | |
3935 | 3952 | | |
3936 | | - | |
| 3953 | + | |
3937 | 3954 | | |
3938 | 3955 | | |
3939 | 3956 | | |
| |||
6935 | 6952 | | |
6936 | 6953 | | |
6937 | 6954 | | |
6938 | | - | |
| 6955 | + | |
6939 | 6956 | | |
6940 | 6957 | | |
6941 | 6958 | | |
| |||
8708 | 8725 | | |
8709 | 8726 | | |
8710 | 8727 | | |
8711 | | - | |
| 8728 | + | |
8712 | 8729 | | |
8713 | 8730 | | |
8714 | 8731 | | |
| |||
8718 | 8735 | | |
8719 | 8736 | | |
8720 | 8737 | | |
8721 | | - | |
| 8738 | + | |
8722 | 8739 | | |
8723 | 8740 | | |
8724 | 8741 | | |
| |||
9317 | 9334 | | |
9318 | 9335 | | |
9319 | 9336 | | |
9320 | | - | |
| 9337 | + | |
9321 | 9338 | | |
9322 | 9339 | | |
9323 | 9340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1216 | 1216 | | |
1217 | 1217 | | |
1218 | 1218 | | |
1219 | | - | |
| 1219 | + | |
1220 | 1220 | | |
1221 | | - | |
1222 | | - | |
1223 | | - | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
1227 | | - | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
1234 | 1225 | | |
1235 | 1226 | | |
1236 | 1227 | | |
| |||
0 commit comments