Module Name:    src
Committed By:   martin
Date:           Wed Apr 20 09:57:59 UTC 2011

Modified Files:
        src/sys/arch/sparc64/dev: ffb.c

Log Message:
Remove some leftovers


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/sparc64/dev/ffb.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/sparc64/dev/ffb.c
diff -u src/sys/arch/sparc64/dev/ffb.c:1.39 src/sys/arch/sparc64/dev/ffb.c:1.40
--- src/sys/arch/sparc64/dev/ffb.c:1.39	Sat Apr  9 19:31:15 2011
+++ src/sys/arch/sparc64/dev/ffb.c	Wed Apr 20 09:57:59 2011
@@ -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 <sys/cdefs.h>
-__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 <sys/types.h>
 #include <sys/param.h>
@@ -374,7 +374,6 @@
 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 @@
 	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

Reply via email to