diff options
| author | Markus Elfring <[email protected]> | 2016-07-22 10:30:30 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-07-22 11:31:42 +0200 |
| commit | 44fb4b8aa3925bf17763fcad76a97561aab32ecd (patch) | |
| tree | 6adf5f48ab9a743a1236ae14e9aaa59540723a3e /tools/perf/util/c++/clang.cpp | |
| parent | 76e4c327ea51d0da47938e343ef27b988bc5c659 (diff) | |
GPU-DRM-GMA500: Delete unnecessary checks before two function calls
The functions pci_dev_put() and psb_intel_i2c_destroy() test whether
their argument is NULL and then return immediately.
Thus the tests around their calls are not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions