Star64_linux/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
..
core.c NFC: nci: fix memory leak in nci_allocate_device 2021-05-17 13:56:29 -07:00
data.c
hci.c NFC: nci: Remove redundant assignment to len 2021-06-01 15:52:24 -07:00
Kconfig
lib.c
Makefile
ntf.c
rsp.c
spi.c
uart.c Networking changes for 5.13. 2021-04-29 11:57:23 -07:00