Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 22:17:34 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r260112 - head/sys/dev/sound/pci
Message-ID:  <201312302217.rBUMHYTG049968@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Mon Dec 30 22:17:33 2013
New Revision: 260112
URL: http://svnweb.freebsd.org/changeset/base/260112

Log:
  In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions.
  
  MFC after:	3 days

Modified:
  head/sys/dev/sound/pci/maestro.c

Modified: head/sys/dev/sound/pci/maestro.c
==============================================================================
--- head/sys/dev/sound/pci/maestro.c	Mon Dec 30 22:14:31 2013	(r260111)
+++ head/sys/dev/sound/pci/maestro.c	Mon Dec 30 22:17:33 2013	(r260112)
@@ -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(           \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312302217.rBUMHYTG049968>