From: Amadeusz Sławiński Date: Wed, 6 Jul 2022 12:02:29 +0000 (+0200) Subject: ALSA: hda: Remove unused macro definition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0440741254ed27bd695d994f00358647c92ed832;p=linux.git ALSA: hda: Remove unused macro definition It is not used anywhere in the file, so there is no need to keep it. Signed-off-by: Amadeusz Sławiński Signed-off-by: Cezary Rojewski Link: https://lore.kernel.org/r/20220706120230.427296-9-cezary.rojewski@intel.com Signed-off-by: Takashi Iwai --- diff --git a/sound/hda/ext/hdac_ext_controller.c b/sound/hda/ext/hdac_ext_controller.c index b072392725c74..a42f66f561f57 100644 --- a/sound/hda/ext/hdac_ext_controller.c +++ b/sound/hda/ext/hdac_ext_controller.c @@ -14,13 +14,6 @@ #include #include -/* - * 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