lkml.org 
[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] Coding style in serial2002
Date
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


\
 
 \ /
  Last update: 2011-01-21 02:35    [W:0.038 / U:38.488 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site