Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/stand/common Remove unused deinit functions. ...
details: https://anonhg.NetBSD.org/src/rev/d2607241c89d
branches: trunk
changeset: 761892:d2607241c89d
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Feb 10 11:17:21 2011 +0000
description:
Remove unused deinit functions. From OpenBSD.
diffstat:
sys/arch/hp300/stand/common/ite.c | 25 +++++++++----------------
sys/arch/hp300/stand/common/itevar.h | 3 +--
2 files changed, 10 insertions(+), 18 deletions(-)
diffs (86 lines):
diff -r 9dff362507a8 -r d2607241c89d sys/arch/hp300/stand/common/ite.c
--- a/sys/arch/hp300/stand/common/ite.c Thu Feb 10 11:17:17 2011 +0000
+++ b/sys/arch/hp300/stand/common/ite.c Thu Feb 10 11:17:21 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ite.c,v 1.12 2011/02/10 10:44:22 tsutsui Exp $ */
+/* $NetBSD: ite.c,v 1.13 2011/02/10 11:17:21 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -57,41 +57,40 @@
#include <hp300/stand/common/samachdep.h>
static void iteconfig(void);
-static void ite_deinit_noop(struct ite_data *);
static void ite_clrtoeol(struct ite_data *, struct itesw *, int, int);
static void itecheckwrap(struct ite_data *, struct itesw *);
struct itesw itesw[] = {
{ GID_TOPCAT,
- topcat_init, ite_deinit_noop, topcat_clear, topcat_putc,
+ topcat_init, topcat_clear, topcat_putc,
topcat_cursor, topcat_scroll },
{ GID_GATORBOX,
- gbox_init, ite_deinit_noop, gbox_clear, gbox_putc,
+ gbox_init, gbox_clear, gbox_putc,
gbox_cursor, gbox_scroll },
{ GID_RENAISSANCE,
- rbox_init, ite_deinit_noop, rbox_clear, rbox_putc,
+ rbox_init, rbox_clear, rbox_putc,
rbox_cursor, rbox_scroll },
{ GID_LRCATSEYE,
- topcat_init, ite_deinit_noop, topcat_clear, topcat_putc,
+ topcat_init, topcat_clear, topcat_putc,
topcat_cursor, topcat_scroll },
{ GID_HRCCATSEYE,
- topcat_init, ite_deinit_noop, topcat_clear, topcat_putc,
+ topcat_init, topcat_clear, topcat_putc,
topcat_cursor, topcat_scroll },
{ GID_HRMCATSEYE,
- topcat_init, ite_deinit_noop, topcat_clear, topcat_putc,
+ topcat_init, topcat_clear, topcat_putc,
topcat_cursor, topcat_scroll },
{ GID_DAVINCI,
- dvbox_init, ite_deinit_noop, dvbox_clear, dvbox_putc,
+ dvbox_init, dvbox_clear, dvbox_putc,
dvbox_cursor, dvbox_scroll },
{ GID_HYPERION,
- hyper_init, ite_deinit_noop, hyper_clear, hyper_putc,
+ hyper_init, hyper_clear, hyper_putc,
hyper_cursor, hyper_scroll },
};
int nitesw = sizeof(itesw) / sizeof(itesw[0]);
@@ -303,9 +302,3 @@
#endif
}
#endif
-
-/* ARGSUSED */
-static void
-ite_deinit_noop(struct ite_data *ip)
-{
-}
diff -r 9dff362507a8 -r d2607241c89d sys/arch/hp300/stand/common/itevar.h
--- a/sys/arch/hp300/stand/common/itevar.h Thu Feb 10 11:17:17 2011 +0000
+++ b/sys/arch/hp300/stand/common/itevar.h Thu Feb 10 11:17:21 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: itevar.h,v 1.11 2011/02/10 11:08:23 tsutsui Exp $ */
+/* $NetBSD: itevar.h,v 1.12 2011/02/10 11:17:21 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -76,7 +76,6 @@
struct itesw {
int ite_hwid;
void (*ite_init)(struct ite_data *);
- void (*ite_deinit)(struct ite_data *);
void (*ite_clear)(struct ite_data *, int, int, int, int);
void (*ite_putc)(struct ite_data *, int, int, int, int);
void (*ite_cursor)(struct ite_data *, int);
Home |
Main Index |
Thread Index |
Old Index