From: gang.chen@asianux.com (Chen Gang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM:common: deleting waste code which never execute
Date: Tue, 29 Jan 2013 21:27:56 +0800 [thread overview]
Message-ID: <5107CE5C.3060209@asianux.com> (raw)
In-Reply-To: <5107CD3B.4080600@asianux.com>
sorry, need send patch v2 (or report warning for temp when building)
? 2013?01?29? 21:23, Chen Gang ??:
>
> delete the waste code which never execute
>
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
> ---
> arch/arm/common/scoop.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c
> index a5c3dc3..6ef146e 100644
> --- a/arch/arm/common/scoop.c
> +++ b/arch/arm/common/scoop.c
> @@ -232,8 +232,6 @@ static int scoop_probe(struct platform_device *pdev)
>
> return 0;
>
> - if (devptr->gpio.base != -1)
> - temp = gpiochip_remove(&devptr->gpio);
> err_gpio:
> platform_set_drvdata(pdev, NULL);
> err_ioremap:
>
--
Chen Gang
Asianux Corporation
prev parent reply other threads:[~2013-01-29 13:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 13:23 [PATCH] ARM:common: deleting waste code which never execute Chen Gang
2013-01-29 13:27 ` Chen Gang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5107CE5C.3060209@asianux.com \
--to=gang.chen@asianux.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).