commit | 1ba22bf547a3c92d3e6c5c8d3e3ebe48a7bc26b3 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sat Apr 27 19:32:59 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 27 20:23:04 2019 -0400 |
tree | a107bd7eb2f574134373ea062d8924bd49a8f9f8 | |
parent | c4362c37431b999c84dd047f0125592987c09142 [diff] |
net: dsa: mv88e6060: Replace REG_READ macro The REG_READ macro contains a return statement, making it not very safe. Remove it by inlining the code. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>