aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-03-29 16:33:55 +0100
committerDavid S. Miller <[email protected]>2017-03-30 11:07:08 -0700
commited8bfd5c1ca6e2911c797da611fdada958ab44c0 (patch)
treebddb131915e0a0a357e1c0f35eb77f6d2c75c520 /tools/perf/scripts/python/bin
parent282ccf6efb7c5d75b0283b66ed487957163ce8fe (diff)
VSOCK: remove unnecessary ternary operator on return value
Rather than assign the positive errno values to ret and then checking if it is positive and flip the sign, just return the errno value. Detected by CoverityScan, CID#986649 ("Logically Dead Code") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Reviewed-by: Jorgen Hansen <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions