]> git.baikalelectronics.ru Git - kernel.git/commit
net: tulip: remove redundant assignment to variable new_csr6
authorColin Ian King <colin.i.king@gmail.com>
Sun, 23 Jan 2022 18:34:40 +0000 (18:34 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Jan 2022 15:40:44 +0000 (07:40 -0800)
commit6b0671a23dd6cc949d12fa8d65171856159cd17b
treeb3086c54637749f77fe2b502e206b3afc4f29427
parent6fc2f3832d36d74289680a1bf4484def8321f6e0
net: tulip: remove redundant assignment to variable new_csr6

Variable new_csr6 is being initialized with a value that is never
read, it is being re-assigned later on. The assignment is redundant
and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220123183440.112495-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/dec/tulip/pnic.c