OpenCloudOS-Kernel/drivers/net/ethernet/atheros/atl1c
Colin Ian King 0978e5919c atl1c: remove redundant assignment to variable size
Variable sie is being assigned a value that is never read. The
The assignment is redundant and can be removed.

Cleans up clang scan build warning:
drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1054:22: warning:
Although the value stored to 'size' is used in the enclosing
expression, the value is never actually read from 'size'
[deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220318005021.82073-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-03-18 14:16:47 -07:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
atl1c.h atl1c: add 4 RX/TX queue support for Mikrotik 10/25G NIC 2021-05-27 16:06:46 -07:00
atl1c_ethtool.c net/atheros: Clean atheros code from driver version 2020-02-24 11:24:47 -08:00
atl1c_hw.c atl1c: fix Mikrotik 10/25G NIC detection 2021-07-08 13:31:43 -07:00
atl1c_hw.h atl1c: add 4 RX/TX queue support for Mikrotik 10/25G NIC 2021-05-27 16:06:46 -07:00
atl1c_main.c atl1c: remove redundant assignment to variable size 2022-03-18 14:16:47 -07:00