commit | 451395f798a3f0a9f257338bc1fbce9a1d6eaf52 | [log] [tgz] |
---|---|---|
author | Martin Kaiser <martin@kaiser.cx> | Thu Jul 29 09:43:54 2021 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 02 10:24:07 2021 +0100 |
tree | b2daa1bf597bed70ba37f39b6b00d9c9f7f6d37f | |
parent | d39e8b92c34113e0e406c9853d655b1350a15624 [diff] |
niu: read property length only if we use it In three places, the driver calls of_get_property and reads the property length although the length is not used. Update the calls to not request the length. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: David S. Miller <davem@davemloft.net>