From 2a455ef7b215f0d1fa91530b39544102fdba08fe Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Mon, 18 Feb 2013 16:43:03 +0530 Subject: [PATCH] compress: remove unused variables Signed-off-by: Vinod Koul --- compress.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compress.c b/compress.c index a8964f4..d98517d 100644 --- a/compress.c +++ b/compress.c @@ -204,7 +204,6 @@ struct compress *compress_open(unsigned int card, unsigned int device, struct compress *compress; struct snd_compr_params params; char fn[256]; - int rc; compress = calloc(1, sizeof(struct compress)); if (!compress || !config) { @@ -397,12 +396,10 @@ int compress_drain(struct compress *compress) bool is_codec_supported(unsigned int card, unsigned int device, unsigned int flags, struct snd_codec *codec) { - struct snd_compr_params params; unsigned int dev_flag; bool ret; int fd; char fn[256]; - int rc; snprintf(fn, sizeof(fn), "/dev/snd/comprC%uD%u", card, device); -- 2.47.3