[alsa-devel] [PATCH 2/4] compress: remove unused variables
Vinod Koul
vinod.koul at intel.com
Mon Feb 18 15:15:13 CET 2013
Signed-off-by: Vinod Koul <vinod.koul at intel.com>
---
compress.c | 3 ---
1 files changed, 0 insertions(+), 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);
--
1.7.0.4
More information about the Alsa-devel
mailing list