Remove unnecessary casts against void pointers.
This commit is contained in:
parent
ec3c45aecf
commit
b3d67eaca7
|
@ -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 <jmcneill@invisible.ca>
|
||||
|
@ -34,7 +34,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__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 <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue