diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-04-05 15:06:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-06 20:20:03 +0300 |
commit | 2dd6a24fff41fe8fbf307491ed637a18049b13ff (patch) | |
tree | ed7e283f681fae68db80dbab41b1c7d48ff2ba68 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 19a46799adf21f4b0a58d61ff90e6c51fd824129 (diff) | |
download | linux-2dd6a24fff41fe8fbf307491ed637a18049b13ff.tar.xz |
wimax: remove some redundant assignments to variable result
In function i2400m_bm_buf_alloc there is no need to use a variable
'result' to return -ENOMEM, just return the literal value. In the
function i2400m_setup the variable 'result' is initialized with a
value that is never read, it is a redundant assignment that can
be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions