fix unused variable warning
This commit is contained in:
parent
acda221c21
commit
d2d9a4a6f5
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: hpcapm.c,v 1.19 2012/10/27 17:18:17 chs Exp $ */
|
||||
/* $NetBSD: hpcapm.c,v 1.20 2013/11/09 21:31:56 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Takemura Shin
|
||||
|
@ -29,7 +29,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: hpcapm.c,v 1.19 2012/10/27 17:18:17 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: hpcapm.c,v 1.20 2013/11/09 21:31:56 christos Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_hpcapm.h"
|
||||
|
@ -294,17 +294,11 @@ hpcapm_hook(void *ctx, int type, long id, void *msg)
|
|||
static void
|
||||
hpcapm_disconnect(void *scx)
|
||||
{
|
||||
struct apmhpc_softc *sc;
|
||||
|
||||
sc = scx;
|
||||
}
|
||||
|
||||
static void
|
||||
hpcapm_enable(void *scx, int onoff)
|
||||
{
|
||||
struct apmhpc_softc *sc;
|
||||
|
||||
sc = scx;
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -432,26 +426,16 @@ hpcapm_get_event(void *scx, u_int *event_type, u_int *event_info)
|
|||
static void
|
||||
hpcapm_cpu_busy(void *scx)
|
||||
{
|
||||
struct apmhpc_softc *sc;
|
||||
|
||||
sc = scx;
|
||||
}
|
||||
|
||||
static void
|
||||
hpcapm_cpu_idle(void *scx)
|
||||
{
|
||||
struct apmhpc_softc *sc;
|
||||
|
||||
sc = scx;
|
||||
}
|
||||
|
||||
static void
|
||||
hpcapm_get_capabilities(void *scx, u_int *numbatts, u_int *capflags)
|
||||
{
|
||||
struct apmhpc_softc *sc;
|
||||
|
||||
*numbatts = 0;
|
||||
*capflags = APM_GLOBAL_STANDBY | APM_GLOBAL_SUSPEND;
|
||||
|
||||
sc = scx;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue