[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210308184350.GA2767821@robh.at.kernel.org>
Date: Mon, 8 Mar 2021 11:43:50 -0700
From: Rob Herring <robh@...nel.org>
To: Yang Li <yang.lee@...ux.alibaba.com>
Cc: linux-kernel@...r.kernel.org, robh+dt@...nel.org,
devicetree@...r.kernel.org, frowand.list@...il.com
Subject: Re: [PATCH] of: property: Remove unneeded return variable
On Tue, 02 Mar 2021 17:16:38 +0800, Yang Li wrote:
> This patch removes unneeded return variables, using only
> '0' instead.
> It fixes the following warning detected by coccinelle:
> ./drivers/of/property.c:1371:5-8: Unneeded variable: "ret". Return "0"
> on line 1388
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
> ---
> drivers/of/property.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Applied, thanks!
Powered by blists - more mailing lists