Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2008 14:41:03 GMT
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 150504 for review
Message-ID:  <200809261441.m8QEf39R078755@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=150504

Change 150504 by thompsa@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809261441.m8QEf39R078755>