diff options
author | Andrzej Hajda <[email protected]> | 2016-02-24 09:32:13 +0100 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2016-02-24 16:16:04 +0100 |
commit | 4c23d8745731b1b54bb8eadfc42070d7f9893b46 (patch) | |
tree | c780f7214c1254d4b30bc269717e10d677e9bb02 /tools/perf/scripts/python | |
parent | 8790404de0e5f47ef721e2ed36ebb0f2314722ac (diff) |
6lowpan: fix error checking code
Bool variable 'fail' is always non-negative, it indicates an error if it
is true.
The problem has been detected using coccinelle script
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci
Signed-off-by: Andrzej Hajda <[email protected]>
Acked-by: Alexander Aring <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions