Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Remove unused variable
details: https://anonhg.NetBSD.org/src/rev/eb89e0a432c8
branches: trunk
changeset: 789911:eb89e0a432c8
user: martin <martin%NetBSD.org@localhost>
date: Thu Sep 12 19:54:51 2013 +0000
description:
Remove unused variable
diffstat:
sys/arch/sparc64/dev/ffb.c | 10 +++-------
sys/dev/sbus/esp_sbus.c | 7 +++----
2 files changed, 6 insertions(+), 11 deletions(-)
diffs (73 lines):
diff -r ae3bd948d187 -r eb89e0a432c8 sys/arch/sparc64/dev/ffb.c
--- a/sys/arch/sparc64/dev/ffb.c Thu Sep 12 19:53:41 2013 +0000
+++ b/sys/arch/sparc64/dev/ffb.c Thu Sep 12 19:54:51 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffb.c,v 1.53 2013/07/30 19:16:50 macallan Exp $ */
+/* $NetBSD: ffb.c,v 1.54 2013/09/12 19:57:43 martin Exp $ */
/* $OpenBSD: creator.c,v 1.20 2002/07/30 19:48:15 jason Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.53 2013/07/30 19:16:50 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.54 2013/09/12 19:57:43 martin Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -201,7 +201,7 @@
const char *model, *out_dev;
int btype;
uint32_t dac;
- int maxrow, maxcol;
+ int maxrow;
u_int blank = WSDISPLAYIO_VIDEO_ON;
char buf[6+1];
int i, try_edid;
@@ -233,10 +233,6 @@
sc->sc_locked = 0;
sc->sc_mode = WSDISPLAYIO_MODE_EMUL;
- maxcol = (prom_getoption("screen-#columns", buf, sizeof buf) == 0)
- ? strtoul(buf, NULL, 10)
- : 80;
-
maxrow = (prom_getoption("screen-#rows", buf, sizeof buf) != 0)
? strtoul(buf, NULL, 10)
: 34;
diff -r ae3bd948d187 -r eb89e0a432c8 sys/dev/sbus/esp_sbus.c
--- a/sys/dev/sbus/esp_sbus.c Thu Sep 12 19:53:41 2013 +0000
+++ b/sys/dev/sbus/esp_sbus.c Thu Sep 12 19:54:51 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: esp_sbus.c,v 1.51 2009/09/17 16:28:12 tsutsui Exp $ */
+/* $NetBSD: esp_sbus.c,v 1.52 2013/09/12 19:54:51 martin Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esp_sbus.c,v 1.51 2009/09/17 16:28:12 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esp_sbus.c,v 1.52 2013/09/12 19:54:51 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -408,7 +408,6 @@
espattach(struct esp_softc *esc, struct ncr53c9x_glue *gluep)
{
struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
- void *icookie;
unsigned int uid = 0;
/*
@@ -512,7 +511,7 @@
}
/* Establish interrupt channel */
- icookie = bus_intr_establish(esc->sc_bustag, esc->sc_pri, IPL_BIO,
+ bus_intr_establish(esc->sc_bustag, esc->sc_pri, IPL_BIO,
ncr53c9x_intr, sc);
/* register interrupt stats */
Home |
Main Index |
Thread Index |
Old Index