diff options
author | 2010-11-30 17:43:26 -0600 | |
---|---|---|
committer | 2010-12-23 12:53:09 -0800 | |
commit | 1d3c16a818e992c199844954d95c17fd7ce6cbba (patch) | |
tree | 6f54b4153b8f7e54bdb5a8abc3ceffa7b4eec0e2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | PCI: Disable ASPM if BIOS asks us to (diff) | |
download | wireguard-linux-1d3c16a818e992c199844954d95c17fd7ce6cbba.tar.xz wireguard-linux-1d3c16a818e992c199844954d95c17fd7ce6cbba.zip |
PCI: make pci_restore_state return void
pci_restore_state only ever returns 0, thus there is no benefit in
having it return any value. Also, a large majority of the callers do
not check the return code of pci_restore_state. Make the
pci_restore_state a void return and avoid the overhead.
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions