Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/luna68k/dev Remove initialization of unused t_softc...



details:   https://anonhg.NetBSD.org/src/rev/2ac37413576a
branches:  trunk
changeset: 325639:2ac37413576a
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Jan 02 03:32:35 2014 +0000

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

diffstat:

 sys/arch/luna68k/dev/siotty.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r fe4d220a89e4 -r 2ac37413576a sys/arch/luna68k/dev/siotty.c
--- a/sys/arch/luna68k/dev/siotty.c     Wed Jan 01 22:35:54 2014 +0000
+++ b/sys/arch/luna68k/dev/siotty.c     Thu Jan 02 03:32:35 2014 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index