PERFORCE change 150387 for review

Andrew Thompson thompsa at FreeBSD.org
Wed Sep 24 16:20:16 UTC 2008


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

Change 150387 by thompsa at thompsa_burger on 2008/09/24 16:19:48

	isiz and osiz never ended up being used.

Affected files ...

.. //depot/projects/mpsafetty/sys/kern/tty.c#47 edit

Differences ...

==== //depot/projects/mpsafetty/sys/kern/tty.c#47 (text+ko) ====

@@ -1824,15 +1824,12 @@
 DB_SHOW_COMMAND(tty, db_show_tty)
 {
 	struct tty *tp;
-	size_t isiz, osiz;
 
 	if (!have_addr) {
 		db_printf("usage: show tty <addr>\n");
 		return;
 	}
 	tp = (struct tty *)addr;
-	isiz = tp->t_inq.ti_nblocks * TTYINQ_DATASIZE;
-	osiz = tp->t_outq.to_nblocks * TTYOUTQ_DATASIZE;
 
 	db_printf("0x%p: %s\n", tp, tty_devname(tp));
 	db_printf("\tmtx: %p\n", tp->t_mtx);


More information about the p4-projects mailing list