From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Duson Lin <dusonlin@emc.com.tw>
Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
phoenix@emc.com.tw
Subject: Re: [PATCH 3/3] Input: elan_i2c - Remove duplicate repeat code
Date: Sun, 8 Mar 2015 14:14:26 -0700 [thread overview]
Message-ID: <20150308211426.GC23193@dtor-ws> (raw)
In-Reply-To: <1425804245-23954-1-git-send-email-dusonlin@emc.com.tw>
On Sun, Mar 08, 2015 at 04:44:05PM +0800, Duson Lin wrote:
> Remove duplicate "repeat--" from function elan_initialize.
>
> Signed-off-by: Duson Lin <dusonlin@emc.com.tw>
Applied, thank you.
> ---
> drivers/input/mouse/elan_i2c_core.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
> index f24078b..4b970e2 100644
> --- a/drivers/input/mouse/elan_i2c_core.c
> +++ b/drivers/input/mouse/elan_i2c_core.c
> @@ -198,7 +198,6 @@ static int elan_initialize(struct elan_tp_data *data)
> if (!error)
> return 0;
>
> - repeat--;
> msleep(30);
> } while (--repeat > 0);
>
> --
> 1.7.10.4
>
--
Dmitry
prev parent reply other threads:[~2015-03-08 21:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-08 8:44 [PATCH 3/3] Input: elan_i2c - Remove duplicate repeat code Duson Lin
2015-03-08 21:14 ` Dmitry Torokhov [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=20150308211426.GC23193@dtor-ws \
--to=dmitry.torokhov@gmail.com \
--cc=dusonlin@emc.com.tw \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phoenix@emc.com.tw \
/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).