diff options
author | Dexuan Cui <[email protected]> | 2016-08-23 04:46:39 +0000 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2016-09-06 12:20:44 -0500 |
commit | 7d0f8eec976ae5a364af84fd8e92f6da9ec05a41 (patch) | |
tree | af6e352380a79fb63895566ea0afff775b1415a4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0c6045d8c0eff0f7784f310407ccad44f622aa40 (diff) |
PCI: hv: Use pci_function_description[0] in struct definitions
The 2 structs can use a zero-length array here, because dynamic memory of
the correct size is allocated in hv_pci_devices_present() and we don't need
this extra element.
No functional change.
Signed-off-by: Dexuan Cui <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: KY Srinivasan <[email protected]>
CC: Jake Oshins <[email protected]>
CC: Haiyang Zhang <[email protected]>
CC: Vitaly Kuznetsov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions