From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Aniroop Mathur <aniroop.mathur@gmail.com>
Cc: "linux-input@vger.kernel.org" <linux-input@vger.kernel.org>
Subject: Re: [Question: drivers/input/input.c] Why input_no is initialized to 0 ?
Date: Thu, 20 Nov 2014 11:29:36 -0800 [thread overview]
Message-ID: <4948988.DE0CZFC5sn@dtor-glaptop> (raw)
In-Reply-To: <CADYu30_O1CPKyAkQb+dQfQViDurej5Y37AbR-bbWd3TpBg=HKw@mail.gmail.com>
On Thursday, November 20, 2014 02:49:24 AM Aniroop Mathur wrote:
> Hello Mr. Torokhov,
>
> Thank you for your answer.
>
> As it is not a problem now, How about changing it to -1 ?
> Although extra subtraction is not expensive but still we could optimize it
> as we want kernel to optimized as much as possible.
Send patches. I think we have the same pattern in several subsystems.
Thanks.
--
Dmitry
prev parent reply other threads:[~2014-11-20 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-19 20:01 [Question: drivers/input/input.c] Why input_no is initialized to 0 ? Aniroop Mathur
2014-11-19 20:57 ` Dmitry Torokhov
2014-11-19 21:19 ` Aniroop Mathur
2014-11-20 19:29 ` 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=4948988.DE0CZFC5sn@dtor-glaptop \
--to=dmitry.torokhov@gmail.com \
--cc=aniroop.mathur@gmail.com \
--cc=linux-input@vger.kernel.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