From b3d67eaca728e3b187858b46503c30cacc9e44e3 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sun, 8 Jun 2008 03:56:09 +0000 Subject: [PATCH] Remove unnecessary casts against void pointers. --- sys/dev/i2c/pic16lc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/i2c/pic16lc.c b/sys/dev/i2c/pic16lc.c index b7c38ad92bd9..b0b3260c53cf 100644 --- a/sys/dev/i2c/pic16lc.c +++ b/sys/dev/i2c/pic16lc.c @@ -1,4 +1,4 @@ -/* $NetBSD: pic16lc.c,v 1.14 2008/05/05 00:21:04 jmcneill Exp $ */ +/* $NetBSD: pic16lc.c,v 1.15 2008/06/08 03:56:09 tsutsui Exp $ */ /*- * Copyright (c) 2007, 2008 Jared D. McNeill @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pic16lc.c,v 1.14 2008/05/05 00:21:04 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pic16lc.c,v 1.15 2008/06/08 03:56:09 tsutsui Exp $"); #include #include @@ -211,7 +211,7 @@ pic16lc_update(struct pic16lc_softc *sc, envsys_data_t *edata) static void pic16lc_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) { - struct pic16lc_softc *sc = (struct pic16lc_softc *)sme->sme_cookie; + struct pic16lc_softc *sc = sme->sme_cookie; pic16lc_update(sc, edata); } @@ -219,7 +219,7 @@ pic16lc_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) static int pic16lc_intr(void *opaque) { - struct pic16lc_softc *sc = (struct pic16lc_softc *)opaque; + struct pic16lc_softc *sc = opaque; uint8_t val; int rv = 0;