diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-07-22 16:12:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-22 17:55:35 -0700 |
commit | bb809a047eb5070e2fc76aa62d111fbbe656c532 (patch) | |
tree | 7b2140839915218354d5a712aab4511ceb5c9c51 /drivers/bcma/scan.c | |
parent | c6dd6488acd105f4fde9b4d289aaef5669b12c76 (diff) | |
download | linux-stable-bb809a047eb5070e2fc76aa62d111fbbe656c532.tar.gz linux-stable-bb809a047eb5070e2fc76aa62d111fbbe656c532.tar.bz2 linux-stable-bb809a047eb5070e2fc76aa62d111fbbe656c532.zip |
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>
Diffstat (limited to 'drivers/bcma/scan.c')
0 files changed, 0 insertions, 0 deletions