Title: [6683] trunk/include/linux/tty_driver.h: drop tty check as booting seems to work fine without it ...
Revision
6683
Author
vapier
Date
2009-06-12 07:13:55 -0500 (Fri, 12 Jun 2009)

Log Message

drop tty check as booting seems to work fine without it ... if the original bug comes up again, we can debug and root cause it properly

Modified Paths

Diff

Modified: trunk/include/linux/tty_driver.h (6682 => 6683)


--- trunk/include/linux/tty_driver.h	2009-06-12 10:05:49 UTC (rev 6682)
+++ trunk/include/linux/tty_driver.h	2009-06-12 12:13:55 UTC (rev 6683)
@@ -317,8 +317,7 @@
 
 static inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d)
 {
-	if (d)
-		kref_get(&d->kref);
+	kref_get(&d->kref);
 	return d;
 }
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to