commit | 24f28dde5bed3b6322003dca903ebf7732efa550 | [log] [tgz] |
---|---|---|
author | Daniel Mack <zonque@gmail.com> | Sat May 24 09:34:27 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 29 15:23:29 2014 -0700 |
tree | 00ef5d250678eca0ae539dca4a10d2d6de5334d9 | |
parent | 86f6cf41272de9d6ffa05ab46028b15d160a6f3e [diff] |
net: of_mdio: don't store the length of a property if we don't need to of_get_property() can be called with NULL as 2nd argument if the caller is not interested in the length of a property. Use that here so we can get rid of a variable. Signed-off-by: Daniel Mack <zonque@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>