diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-09 12:53:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-09 14:10:38 -0700 |
commit | 3d0167f2a627528032821cdeb78b4eab0510460f (patch) | |
tree | 7541a607faaa4101f0ba22490e156d5d3286637e /net | |
parent | aa3d020b22cb844ab7bdbb9e5d861a64666e2b74 (diff) |
net: dsa: qca8k: check the correct variable in qca8k_set_mac_eee()
This code check "reg" but "ret" was intended so the error handling will
never trigger.
Fixes: 7c9896e37807 ("net: dsa: qca8k: check return value of read functions correctly")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions