The check_codec_format_supported() was added but never used so remove
it and eliminate unused function warning
cplay.c:103:20: warning: ‘codec_name_from_id’ defined but not used [-Wunused-function]
We can take from git if user appears
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
return 0;
}
-static int check_codec_format_supported(unsigned int card, unsigned int device, struct snd_codec *codec)
-{
- if (is_codec_supported(card, device, COMPRESS_IN, codec) == false) {
- fprintf(stderr, "Error: This codec or format is not supported by DSP\n");
- return -1;
- }
- return 0;
-}
-
static int print_time(struct compress *compress)
{
unsigned int avail;