[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <522FC468.3010005@samsung.com>
Date: Wed, 11 Sep 2013 10:16:24 +0900
From: Chanwoo Choi <cw00.choi@...sung.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Rob Herring <rob.herring@...xeda.com>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Stephen Warren <swarren@...dotorg.org>,
Ian Campbell <ian.campbell@...rix.com>,
MyungJoo Ham <myungjoo.ham@...sung.com>,
Grant Likely <grant.likely@...aro.org>
Subject: Re: [PATCH 1/6] extcon-gpio: Do not unnecessarily initialize variables
On 08/30/2013 01:29 PM, Guenter Roeck wrote:
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> ---
> drivers/extcon/extcon-gpio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c
> index 02bec32..77d35a7 100644
> --- a/drivers/extcon/extcon-gpio.c
> +++ b/drivers/extcon/extcon-gpio.c
> @@ -80,7 +80,7 @@ static int gpio_extcon_probe(struct platform_device *pdev)
> {
> struct gpio_extcon_platform_data *pdata = pdev->dev.platform_data;
> struct gpio_extcon_data *extcon_data;
> - int ret = 0;
> + int ret;
>
> if (!pdata)
> return -EBUSY;
>
Applied it on extcon-linus branch.
Thanks.
Chanwoo Choi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists