]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ALSA: hda: Remove unused macro definition
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Wed, 6 Jul 2022 12:02:29 +0000 (14:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 9 Jul 2022 16:43:08 +0000 (18:43 +0200)
It is not used anywhere in the file, so there is no need to keep it.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220706120230.427296-9-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/ext/hdac_ext_controller.c

index b072392725c74e075fde26aceb6f26641dd2ebcf..a42f66f561f57f0cb15332bc6aa6e1d36a9ed79a 100644 (file)
 #include <sound/hda_register.h>
 #include <sound/hdaudio_ext.h>
 
-/*
- * maximum HDAC capablities we should parse to avoid endless looping:
- * currently we have 4 extended caps, so this is future proof for now.
- * extend when this limit is seen meeting in real HW
- */
-#define HDAC_MAX_CAPS 10
-
 /*
  * processing pipe helpers - these helpers are useful for dealing with HDA
  * new capability of processing pipelines