From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YRp7w-0003pN-Eg for barebox@lists.infradead.org; Sat, 28 Feb 2015 21:40:50 +0000 From: Marc Kleine-Budde Date: Sat, 28 Feb 2015 22:40:08 +0100 Message-Id: <1425159621-22805-4-git-send-email-mkl@pengutronix.de> In-Reply-To: <1425159621-22805-1-git-send-email-mkl@pengutronix.de> References: <1425159621-22805-1-git-send-email-mkl@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 03/16] of_path: of_find_path(): remove unused variable len To: barebox@lists.infradead.org Signed-off-by: Marc Kleine-Budde --- drivers/of/of_path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/of/of_path.c b/drivers/of/of_path.c index f0fd917ada56..df63c5782a02 100644 --- a/drivers/of/of_path.c +++ b/drivers/of/of_path.c @@ -132,9 +132,9 @@ int of_find_path(struct device_node *node, const char *propname, char **outpath) struct of_path op = {}; struct device_node *rnode; const char *path, *str; - int i, len, ret; + int i, ret; - path = of_get_property(node, propname, &len); + path = of_get_property(node, propname, NULL); if (!path) return -EINVAL; -- 2.1.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox