From: ahern.michael.t@gmail.com
To: gregkh@suse.de, u.kleine-koenig@pengutronix.de, julia@diku.dk,
nikai@nikai.net, morgan.gatti@gmail.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Michael Ahern <ahern.michael.t@gmail.com>
Subject: [PATCH 2/2] Coding style in serial2002
Date: Fri, 21 Jan 2011 12:32:18 +1100 [thread overview]
Message-ID: <1295573538-18973-2-git-send-email-ahern.michael.t@gmail.com> (raw)
In-Reply-To: <1295573538-18973-1-git-send-email-ahern.michael.t@gmail.com>
From: Michael Ahern <ahern.michael.t@gmail.com>
This patch removes incorrect mutli-line comment
Signed-off-by: Michael Ahern <ahern.michael.t@gmail.com>
---
drivers/staging/comedi/drivers/serial2002.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/comedi/drivers/serial2002.c b/drivers/staging/comedi/drivers/serial2002.c
index eee14dd..dfe257c 100644
--- a/drivers/staging/comedi/drivers/serial2002.c
+++ b/drivers/staging/comedi/drivers/serial2002.c
@@ -247,11 +247,6 @@ static void tty_setspeed(struct file *f, int speed)
tty_ioctl(f, TCGETS, (unsigned long)&settings);
- /* printk("Speed: %d\n", settings.c_cflag & (CBAUD | CBAUDEX));
- * better
- * pr_info("Speed: %d\n", settings.c_cflag & (CBAUD | CBAUDEX));
- */
-
settings.c_iflag = 0;
settings.c_oflag = 0;
settings.c_lflag = 0;
@@ -285,10 +280,6 @@ static void tty_setspeed(struct file *f, int speed)
break;
}
tty_ioctl(f, TCSETS, (unsigned long)&settings);
-/* printk("Speed: %d\n", settings.c_cflag & (CBAUD | CBAUDEX));
- * better
- * pr_info("Speed: %d\n", settings.c_cflag & (CBAUD | CBAUDEX));
- */
}
{
/* Set low latency */
--
1.7.0.4
next prev parent reply other threads:[~2011-01-21 1:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-21 1:32 [PATCH 1/2] Coding style in serial2002 ahern.michael.t
2011-01-21 1:32 ` ahern.michael.t [this message]
2011-01-21 6:21 ` [PATCH 2/2] " Dan Carpenter
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=1295573538-18973-2-git-send-email-ahern.michael.t@gmail.com \
--to=ahern.michael.t@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=julia@diku.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=morgan.gatti@gmail.com \
--cc=nikai@nikai.net \
--cc=u.kleine-koenig@pengutronix.de \
/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