From: Daniel Mack Date: Sat, 24 May 2014 07:34:27 +0000 (+0200) Subject: net: of_mdio: don't store the length of a property if we don't need to X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~135^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24f28dde5bed3b6322003dca903ebf7732efa550;p=pandora-kernel.git 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 Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed