Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic remove a now useless bus_space_barrier()



details:   https://anonhg.NetBSD.org/src/rev/429d97d2db99
branches:  trunk
changeset: 753538:429d97d2db99
user:      macallan <macallan%NetBSD.org@localhost>
date:      Wed Mar 31 21:01:03 2010 +0000

description:
remove a now useless bus_space_barrier()

diffstat:

 sys/dev/ic/pcf8584.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r 9388dc881a8d -r 429d97d2db99 sys/dev/ic/pcf8584.c
--- a/sys/dev/ic/pcf8584.c      Wed Mar 31 19:59:39 2010 +0000
+++ b/sys/dev/ic/pcf8584.c      Wed Mar 31 21:01:03 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcf8584.c,v 1.7 2010/03/31 05:09:41 macallan Exp $     */
+/*     $NetBSD: pcf8584.c,v 1.8 2010/03/31 21:01:03 macallan Exp $     */
 /*     $OpenBSD: pcf8584.c,v 1.9 2007/10/20 18:46:21 kettenis Exp $ */
 
 /*
@@ -270,8 +270,6 @@
        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);
-       bus_space_barrier(sc->sc_iot, sc->sc_ioh, sc->sc_regmap[r], 1,
-           BUS_SPACE_BARRIER_WRITE);
 }
 
 void



Home | Main Index | Thread Index | Old Index