summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJialin Zhang <zhangjialin11@huawei.com>2023-08-15 05:54:18 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-08-21 23:47:44 +0300
commita46421fdf7e9fb662becf88b002872cb491dbcaa (patch)
tree351599527c89a51a1a67b4dc6fae4a37e5f78929 /tools/perf/scripts/python/export-to-sqlite.py
parent48e590218d1b2f472a3667e454bbe07ecaecb3f4 (diff)
downloadlinux-a46421fdf7e9fb662becf88b002872cb491dbcaa.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions