Commit 50b823f
platform: mellanox: mlx-platform: Move bus shift assignment out of the loop
Move assignment of bus shift setting out of the loop to avoid redundant
operation.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Link: https://lore.kernel.org/r/20230208063331.15560-13-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>1 parent cefdbc7 commit 50b823f
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6008 | 6008 | | |
6009 | 6009 | | |
6010 | 6010 | | |
6011 | | - | |
6012 | | - | |
6013 | 6011 | | |
6014 | 6012 | | |
| 6013 | + | |
| 6014 | + | |
| 6015 | + | |
6015 | 6016 | | |
6016 | 6017 | | |
6017 | 6018 | | |
| |||
0 commit comments