Commit a46421f
scsi: megaraid_sas: Use pci_dev_id() to simplify the code
PCI core API pci_dev_id() can be used to get the BDF number for a PCI
device. We don't need to compose it manually. Use pci_dev_id() to simplify
the code a little bit.
Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com>
Link: https://lore.kernel.org/r/20230815025419.3523236-3-zhangjialin11@huawei.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 48e5902 commit a46421f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7518 | 7518 | | |
7519 | 7519 | | |
7520 | 7520 | | |
7521 | | - | |
| 7521 | + | |
7522 | 7522 | | |
7523 | 7523 | | |
7524 | 7524 | | |
| |||
0 commit comments