Module Name: src Committed By: martin Date: Sun Sep 15 09:17:28 UTC 2013
Modified Files: src/sys/dev/ic: pcf8584.c Log Message: Remove unused variable To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/ic/pcf8584.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/dev/ic/pcf8584.c diff -u src/sys/dev/ic/pcf8584.c:1.9 src/sys/dev/ic/pcf8584.c:1.10 --- src/sys/dev/ic/pcf8584.c:1.9 Fri Apr 16 18:58:39 2010 +++ src/sys/dev/ic/pcf8584.c Sun Sep 15 09:17:28 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: pcf8584.c,v 1.9 2010/04/16 18:58:39 dyoung Exp $ */ +/* $NetBSD: pcf8584.c,v 1.10 2013/09/15 09:17:28 martin Exp $ */ /* $OpenBSD: pcf8584.c,v 1.9 2007/10/20 18:46:21 kettenis Exp $ */ /* @@ -266,9 +266,8 @@ pcfiic_read(struct pcfiic_softc *sc, bus void pcfiic_write(struct pcfiic_softc *sc, bus_size_t r, u_int8_t v) { - volatile uint8_t junk; bus_space_write_1(sc->sc_iot, sc->sc_ioh, sc->sc_regmap[r], v); - junk = bus_space_read_1(sc->sc_iot, sc->sc_ioh, PCF_S1); + (void)bus_space_read_1(sc->sc_iot, sc->sc_ioh, PCF_S1); } void