diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-01-21 06:28:57 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-01-21 06:28:57 +0000 |
commit | b2676748acf9f4c46e543d2283120bd61b2ed752 (patch) | |
tree | a8dc1bc9c282e84af6977dbf00dc258612aee0d3 /sys/arch | |
parent | 203ffc9481e5702ba7717c92967fd188e6886f5a (diff) |
Remove now uneeded bus_space_unmap calls in the DS1742W/Origin path that
have had uninitialised bus space handle arguments since the mapping became
conditional in rev 1.9
confirmed with miod
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/dev/dsrtc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/sgi/dev/dsrtc.c b/sys/arch/sgi/dev/dsrtc.c index 8991abfe0bf..f295d88a465 100644 --- a/sys/arch/sgi/dev/dsrtc.c +++ b/sys/arch/sgi/dev/dsrtc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsrtc.c,v 1.12 2012/03/28 20:44:23 miod Exp $ */ +/* $OpenBSD: dsrtc.c,v 1.13 2016/01/21 06:28:56 jsg Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -157,9 +157,6 @@ dsrtc_attach_ioc(struct device *parent, struct device *self, void *aux) } else { /* DS1742W */ - bus_space_unmap(iaa->iaa_memt, ih, 1); - bus_space_unmap(iaa->iaa_memt, ih2, 1); - if (bus_space_subregion(iaa->iaa_memt, iaa->iaa_memh, iaa->iaa_base + MK48T35_CLKOFF, MK48T35_CLKSZ - MK48T35_CLKOFF, &ih) != 0) |