diff options
author | dim <dim@FreeBSD.org> | 2014-01-04 23:12:01 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-01-04 23:12:01 +0000 |
commit | 04ce9320a869e111e117197030d984ff77e1bd3b (patch) | |
tree | 4664b23f884b4531e3a89aa35b65ad7f286e931c /sys/dev/sound | |
parent | df316577ae0d54f036626453d44673b7640d6ddc (diff) | |
download | FreeBSD-src-04ce9320a869e111e117197030d984ff77e1bd3b.zip FreeBSD-src-04ce9320a869e111e117197030d984ff77e1bd3b.tar.gz |
MFC r260112:
In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pci/maestro.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/maestro.c b/sys/dev/sound/pci/maestro.c index 965d1c2..1b45211 100644 --- a/sys/dev/sound/pci/maestro.c +++ b/sys/dev/sound/pci/maestro.c @@ -207,9 +207,11 @@ SYSCTL_UINT(_debug_maestro, OID_AUTO, powerstate_init, CTLFLAG_RW, static void agg_sleep(struct agg_info*, const char *wmesg, int msec); +#if 0 static __inline u_int32_t agg_rd(struct agg_info*, int, int size); static __inline void agg_wr(struct agg_info*, int, u_int32_t data, int size); +#endif static int agg_rdcodec(struct agg_info*, int); static int agg_wrcodec(struct agg_info*, int, u_int32_t); @@ -286,6 +288,7 @@ agg_sleep(struct agg_info *sc, const char *wmesg, int msec) /* I/O port */ +#if 0 static __inline u_int32_t agg_rd(struct agg_info *sc, int regno, int size) { @@ -300,12 +303,14 @@ agg_rd(struct agg_info *sc, int regno, int size) return ~(u_int32_t)0; } } +#endif #define AGG_RD(sc, regno, size) \ bus_space_read_##size( \ ((struct agg_info*)(sc))->st, \ ((struct agg_info*)(sc))->sh, (regno)) +#if 0 static __inline void agg_wr(struct agg_info *sc, int regno, u_int32_t data, int size) { @@ -321,6 +326,7 @@ agg_wr(struct agg_info *sc, int regno, u_int32_t data, int size) break; } } +#endif #define AGG_WR(sc, regno, data, size) \ bus_space_write_##size( \ |