diff options
| author | Yang Li <[email protected]> | 2021-06-01 17:49:50 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-01 15:52:24 -0700 |
| commit | 7cf85f8caa042db0e33d70dbd72d8b92b1051f93 (patch) | |
| tree | eedc36932e41f9118ebc2fffde36d372dd15e034 /tools/perf/scripts/python | |
| parent | 52aa0b189288c5d44cb5f2500372e474d6623c18 (diff) | |
NFC: nci: Remove redundant assignment to len
Variable 'len' is set to conn_info->max_pkt_payload_len but this
value is never read as it is overwritten with a new value later on,
hence it is a redundant assignment and can be removed.
Clean up the following clang-analyzer warning:
net/nfc/nci/hci.c:164:3: warning: Value stored to 'len' is never read
[clang-analyzer-deadcode.DeadStores]
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions