OpenCloudOS-Kernel/net/nfc/nci
Yang Li 7cf85f8caa 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 <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-01 15:52:24 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
core.c NFC: nci: fix memory leak in nci_allocate_device 2021-05-17 13:56:29 -07:00
data.c nfc: fix potential illegal memory access 2019-07-08 12:46:24 -07:00
hci.c NFC: nci: Remove redundant assignment to len 2021-06-01 15:52:24 -07:00
lib.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
ntf.c net/nfc/nci: Support NCI 2.x initial sequence 2020-12-04 17:47:35 -08:00
rsp.c net/nfc/nci: Support NCI 2.x initial sequence 2020-12-04 17:47:35 -08:00
spi.c NFC: NCI: use new `delay` structure for SPI transfer delays 2019-12-04 17:00:58 -08:00
uart.c Networking changes for 5.13. 2021-04-29 11:57:23 -07:00