From: Amadeusz Sławiński Date: Wed, 6 Jul 2022 12:02:29 +0000 (+0200) Subject: ALSA: hda: Remove unused macro definition X-Git-Tag: v6.1-rc5~574^2~26^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0440741254ed27bd695d994f00358647c92ed832;p=platform%2Fkernel%2Flinux-starfive.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 b072392..a42f66f 100644 --- a/sound/hda/ext/hdac_ext_controller.c +++ b/sound/hda/ext/hdac_ext_controller.c @@ -15,13 +15,6 @@ #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 */