commit | bb809a047eb5070e2fc76aa62d111fbbe656c532 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Jul 22 16:12:21 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 22 17:55:35 2020 -0700 |
tree | 7b2140839915218354d5a712aab4511ceb5c9c51 | |
parent | c6dd6488acd105f4fde9b4d289aaef5669b12c76 [diff] |
lan743x: remove redundant initialization of variable current_head_index The variable current_head_index is being initialized with a value that is never read and it is being updated later with a new value. Replace the initialization of -1 with the latter assignment. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>