From: Julia Lawall <julia.lawall@inria.fr>
To: Deepak Varma <mh12gx2825@gmail.com>
Cc: outreachy-kernel <outreachy-kernel@googlegroups.com>
Subject: Re: [Outreachy kernel] Re: [PATCH] staging : comedi : dt2801 : remove old unused code
Date: Tue, 10 Mar 2020 21:41:15 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.21.2003102139120.2313@hadrien> (raw)
In-Reply-To: <b14f8972-f6c7-4ca6-8fe6-55fc3517a186@googlegroups.com>
[-- Attachment #1: Type: text/plain, Size: 3248 bytes --]
On Tue, 10 Mar 2020, Deepak Varma wrote:
> True. I added those manually to be sure. Would you suggest I resubmit v4 or
> it is okay for now and should be taken care in my next submission???
Please stop top posting and please stop removing the comments that you are
replying to. Your message should be self contained. The person looking
at only the message should understand the whole context of what you are
saying.
I think you are asking about the extra ---. Don't worry about it.
julia
>
> Thank you.
> Deepak.
>
> On Tuesday, 10 March 2020 21:21:05 UTC+5:30, Deepak Varma wrote:
> there are 2 #if 0 blocks that have no recent history of any
> change. We
> can remove those code blocks for improved readability of the
> code.
>
> Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
> ---
> drivers/staging/comedi/drivers/dt2801.c | 22
> ----------------------
> 1 file changed, 22 deletions(-)
>
> diff --git a/drivers/staging/comedi/drivers/dt2801.c
> b/drivers/staging/comedi/drivers/dt2801.c
> index a29880981d81..aad02faa2f83 100644
> --- a/drivers/staging/comedi/drivers/dt2801.c
> +++ b/drivers/staging/comedi/drivers/dt2801.c
> @@ -87,17 +87,6 @@
> #define DT2801_STATUS 1
> #define DT2801_CMD 1
>
> -#if 0
> -/* ignore 'defined but not used' warning */
> -static const struct comedi_lrange range_dt2801_ai_pgh_bipolar =
> {
> - 4, {
> - BIP_RANGE(10),
> - BIP_RANGE(5),
> - BIP_RANGE(2.5),
> - BIP_RANGE(1.25)
> - }
> -};
> -#endif
> static const struct comedi_lrange range_dt2801_ai_pgl_bipolar =
> {
> 4, {
> BIP_RANGE(10),
> @@ -107,17 +96,6 @@ static const struct comedi_lrange
> range_dt2801_ai_pgl_bipolar = {
> }
> };
>
> -#if 0
> -/* ignore 'defined but not used' warning */
> -static const struct comedi_lrange range_dt2801_ai_pgh_unipolar
> = {
> - 4, {
> - UNI_RANGE(10),
> - UNI_RANGE(5),
> - UNI_RANGE(2.5),
> - UNI_RANGE(1.25)
> - }
> -};
> -#endif
> static const struct comedi_lrange range_dt2801_ai_pgl_unipolar
> = {
> 4, {
> UNI_RANGE(10),
> --
> 2.17.1
>
> --
> You received this message because you are subscribed to the Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to outreachy-kernel+unsubscribe@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/b14f8972-f6c7-4ca6-8fe6-
> 55fc3517a186%40googlegroups.com.
>
>
prev parent reply other threads:[~2020-03-10 20:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-10 15:50 [PATCH] staging : comedi : dt2801 : remove old unused code Deepak R Varma
2020-03-10 16:22 ` [Outreachy kernel] " Julia Lawall
2020-03-10 17:45 ` Deepak Varma
2020-03-10 17:53 ` [Outreachy kernel] " Julia Lawall
2020-03-10 18:38 ` Deepak Varma
2020-03-10 20:35 ` Deepak Varma
2020-03-10 20:41 ` Julia Lawall [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=alpine.DEB.2.21.2003102139120.2313@hadrien \
--to=julia.lawall@inria.fr \
--cc=mh12gx2825@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.