diff options
author | Jean Delvare <[email protected]> | 2014-02-24 16:03:16 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2014-02-25 10:13:46 +0100 |
commit | 5fdae419009764337c8f2bf143af57dcadfd228d (patch) | |
tree | a4b86757f7c8d3a0895908742a4c813066dbb80d /tools/perf/scripts/python/syscall-counts.py | |
parent | 5576fb8696bf8d8ae60278c2aa4dc23eae9eb86e (diff) |
i82875p_edac: Drop redundant call to pci_get_device()
The first call to pci_get_device() in i82875p_probe1() is useless. The
result is immediately reset at the beginning of
i82875p_setup_overfl_dev(), which then issues the same
pci_get_device() call. Dropping the redundant call avoids a device
reference leak.
Signed-off-by: Jean Delvare <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: Doug Thompson <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions