diff options
author | 2014-05-24 09:34:27 +0200 | |
---|---|---|
committer | 2014-05-29 15:23:29 -0700 | |
commit | 24f28dde5bed3b6322003dca903ebf7732efa550 (patch) | |
tree | 00ef5d250678eca0ae539dca4a10d2d6de5334d9 /lib/test_bpf.c | |
parent | net: of_mdio: add of_mdiobus_link_phydev() (diff) | |
download | wireguard-linux-24f28dde5bed3b6322003dca903ebf7732efa550.tar.xz wireguard-linux-24f28dde5bed3b6322003dca903ebf7732efa550.zip |
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>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions