diff options
| author | Markus Elfring <[email protected]> | 2016-07-23 08:30:52 +0200 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-08-03 21:03:35 -0400 |
| commit | f7ca535ba0b2268609d50bcd4bc3e8267dfd01b3 (patch) | |
| tree | 0846fd4c9261b5970feec7e3df8c2e23a056c87e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 3f85f2aaabf785e53bbcd242cb92aeda28990ef5 (diff) | |
IB/hfi1: NULL arg to sc_return_credits is OK
The sc_return_credits() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions