diff options
author | 2015-09-10 18:40:31 +0800 | |
---|---|---|
committer | 2015-09-18 15:55:07 -0500 | |
commit | 9222097f0d2f88db602c0340d19d90a1c72b5fec (patch) | |
tree | 90effab76b507f987e7a55fa11b8fe2aceafd8cd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.3-rc1 (diff) | |
download | wireguard-linux-9222097f0d2f88db602c0340d19d90a1c72b5fec.tar.xz wireguard-linux-9222097f0d2f88db602c0340d19d90a1c72b5fec.zip |
PCI: Remove unnecessary "if" statement
In store_remove_id(), set the default return value to -ENODEV, and
overwrite it with the input buffer size if we find a matching list entry.
Then we don't need to test whether to return an error or the count.
No functional change.
[bhelgaas: changelog]
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions