[PATCH 2/2] Coding style in serial2002

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Ahern <ahern.michael.t@xxxxxxxxx>

This patch removes incorrect mutli-line comment

Signed-off-by: Michael Ahern <ahern.michael.t@xxxxxxxxx>
---
 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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux