svn commit: r260298 - in stable: 10/sys/dev/sound/pci 7/sys/dev/sound/pci 8/sys/dev/sound/pci 9/sys/dev/sound/pci
Dimitry Andric
dim at FreeBSD.org
Sat Jan 4 23:12:02 UTC 2014
Author: dim
Date: Sat Jan 4 23:12:01 2014
New Revision: 260298
URL: http://svnweb.freebsd.org/changeset/base/260298
Log:
MFC r260112:
In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions.
Modified:
stable/9/sys/dev/sound/pci/maestro.c
Directory Properties:
stable/9/sys/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/10/sys/dev/sound/pci/maestro.c
stable/7/sys/dev/sound/pci/maestro.c
stable/8/sys/dev/sound/pci/maestro.c
Directory Properties:
stable/10/ (props changed)
stable/7/sys/ (props changed)
stable/8/sys/ (props changed)
Modified: stable/9/sys/dev/sound/pci/maestro.c
==============================================================================
--- stable/9/sys/dev/sound/pci/maestro.c Sat Jan 4 23:00:56 2014 (r260297)
+++ stable/9/sys/dev/sound/pci/maestro.c Sat Jan 4 23:12:01 2014 (r260298)
@@ -207,9 +207,11 @@ SYSCTL_UINT(_debug_maestro, OID_AUTO, po
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 cha
/* 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, i
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
break;
}
}
+#endif
#define AGG_WR(sc, regno, data, size) \
bus_space_write_##size( \
More information about the svn-src-stable-9
mailing list