PERFORCE change 150504 for review

Andrew Thompson thompsa at FreeBSD.org
Fri Sep 26 14:41:04 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=150504

Change 150504 by thompsa at thompsa_burger on 2008/09/26 14:40:15

	There is no point hooking rint_done as its not an override so
	ttydisc_rint_done() will still be called.
	
	Pointed out by:		ed

Affected files ...

.. //depot/projects/mpsafetty/sys/netgraph/ng_tty.c#6 edit

Differences ...

==== //depot/projects/mpsafetty/sys/netgraph/ng_tty.c#6 (text+ko) ====

@@ -112,7 +112,6 @@
 static th_getc_poll_t		ngt_getc_poll;
 static th_rint_bypass_t		ngt_rint_bypass;
 static th_rint_poll_t		ngt_rint_poll;
-static th_rint_done_t		ngt_rint_done;
 static th_close_t		ngt_close;
 
 static struct ttyhook ngt_hook = {
@@ -120,7 +119,6 @@
 	.th_getc_poll = ngt_getc_poll,
 	.th_rint_bypass	= ngt_rint_bypass,
 	.th_rint_poll = ngt_rint_poll,
-	.th_rint_done = ngt_rint_done,
 	.th_close = ngt_close,
 };
 
@@ -445,12 +443,6 @@
 }
 
 static void
-ngt_rint_done(struct tty *tp)
-{
-	/* Do nothing */
-}
-
-static void
 ngt_close(struct tty *tp)
 {
 	sc_p sc = ttyhook_softc(tp);


More information about the p4-projects mailing list