]> git.baikalelectronics.ru Git - kernel.git/commit
atl1c: remove redundant assignment to variable size
authorColin Ian King <colin.i.king@gmail.com>
Fri, 18 Mar 2022 00:50:21 +0000 (00:50 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Mar 2022 21:16:47 +0000 (14:16 -0700)
commitb16eb9374b67c796e81a7c489d550eab54c25002
treee60bdb7990e4c13de3380d0721803f3975186c15
parente535e1edf29952db2b0f8fa985b5b46a99665ad9
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>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c