aboutsummaryrefslogtreecommitdiff
path: root/pcm.c
diff options
context:
space:
mode:
authorSimon Wilson <simonwilson@google.com>2012-11-09 14:08:18 -0800
committerSimon Wilson <simonwilson@google.com>2012-11-09 14:08:18 -0800
commit2c3a8e24ec76c1db37ca6576e4685e805f74929d (patch)
tree0f8738eabf64dcfc1640e71d29e2136fc514dd17 /pcm.c
parent4ef9a57355a6bede99e3626d92034382cbdfaebb (diff)
Add -Wall to Makefile and fix warnings
Diffstat (limited to 'pcm.c')
-rw-r--r--pcm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/pcm.c b/pcm.c
index 00befe3..8ee59a1 100644
--- a/pcm.c
+++ b/pcm.c
@@ -93,14 +93,6 @@ static void param_set_min(struct snd_pcm_hw_params *p, int n, unsigned int val)
}
}
-static void param_set_max(struct snd_pcm_hw_params *p, int n, unsigned int val)
-{
- if (param_is_interval(n)) {
- struct snd_interval *i = param_to_interval(p, n);
- i->max = val;
- }
-}
-
static void param_set_int(struct snd_pcm_hw_params *p, int n, unsigned int val)
{
if (param_is_interval(n)) {