diff options
author | Intiyaz Basha <[email protected]> | 2017-08-18 13:07:19 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-08-18 15:21:14 -0700 |
commit | d2896116dbc7be7cabd5db414e008aef4a5e0a00 (patch) | |
tree | 063cd0f0874ab727b4c79d05d4cb1dfb6bc0dbcb /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9620fef27ed2cdb37bf6fd028f32bea2ef5119a8 (diff) |
liquidio: fix Smatch error
Fix Smatch error by not dereferencing iq pointer if it's NULL.
See http://marc.info/?l=kernel-janitors&m=150296723301129&w=2
Also, remove unnecessary parentheses.
Fixes: d314ac222829 ("liquidio: moved liquidio_napi_poll to lio_core.c")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Intiyaz Basha <[email protected]>
Signed-off-by: Felix Manlunas <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions