Module Name:    src
Committed By:   tsutsui
Date:           Thu Jan  2 03:32:35 UTC 2014

Modified Files:
        src/sys/arch/luna68k/dev: siotty.c

Log Message:
Remove initialization of unused t_softc in struct tty (to make pullup easier).


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/luna68k/dev/siotty.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/luna68k/dev/siotty.c
diff -u src/sys/arch/luna68k/dev/siotty.c:1.37 src/sys/arch/luna68k/dev/siotty.c:1.38
--- src/sys/arch/luna68k/dev/siotty.c:1.37	Tue Dec 31 14:24:09 2013
+++ src/sys/arch/luna68k/dev/siotty.c	Thu Jan  2 03:32:35 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: siotty.c,v 1.37 2013/12/31 14:24:09 tsutsui Exp $ */
+/* $NetBSD: siotty.c,v 1.38 2014/01/02 03:32:35 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.37 2013/12/31 14:24:09 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.38 2014/01/02 03:32:35 tsutsui Exp $");
 
 #include "opt_ddb.h"
 
@@ -187,7 +187,6 @@ siotty_attach(device_t parent, device_t 
 	tp->t_oproc = siostart;
 	tp->t_param = sioparam;
 	tp->t_hwiflow = NULL /* XXX siohwiflow XXX */;
-	tp->t_softc = sc;
 	if ((sc->sc_hwflags & SIOTTY_HW_CONSOLE) != 0)
 		tp->t_dev = cn_tab->cn_dev;
 	sc->sc_tty = tp;

Reply via email to