From 2886b9e634f1b988b2b6af72510947be3251ffe7 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 20 Apr 2011 09:57:59 +0000 Subject: [PATCH] Remove some leftovers --- sys/arch/sparc64/dev/ffb.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/arch/sparc64/dev/ffb.c b/sys/arch/sparc64/dev/ffb.c index 3494eed63c00..504b9d387558 100644 --- a/sys/arch/sparc64/dev/ffb.c +++ b/sys/arch/sparc64/dev/ffb.c @@ -1,4 +1,4 @@ -/* $NetBSD: ffb.c,v 1.39 2011/04/09 19:31:15 jdc Exp $ */ +/* $NetBSD: ffb.c,v 1.40 2011/04/20 09:57:59 martin Exp $ */ /* $OpenBSD: creator.c,v 1.20 2002/07/30 19:48:15 jason Exp $ */ /* @@ -33,7 +33,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.39 2011/04/09 19:31:15 jdc Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.40 2011/04/20 09:57:59 martin Exp $"); #include #include @@ -374,7 +374,6 @@ ffb_attach(struct ffb_softc *sc) void ffb_attach_i2c(struct ffb_softc *sc) { - struct i2cbus_attach_args iba; /* Fill in the i2c tag */ sc->sc_i2c.ic_cookie = sc; @@ -386,10 +385,6 @@ ffb_attach_i2c(struct ffb_softc *sc) sc->sc_i2c.ic_read_byte = ffb_i2c_read_byte; sc->sc_i2c.ic_write_byte = ffb_i2c_write_byte; sc->sc_i2c.ic_exec = NULL; - - /* Attach I2C bus */ - bzero(&iba, sizeof(iba)); - iba.iba_tag = &sc->sc_i2c; } int