ALSA: hda: Remove unused MAX_PIN_CONFIGS constant
Since it was introduced around v2.6.30 it was never used. Also HDA specification does not mention any limitation on number of PIN configurations. Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Link: https://lore.kernel.org/r/20220818141517.109280-4-amadeuszx.slawinski@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Родитель
d91857059d
Коммит
21b3d4f584
|
@ -375,8 +375,6 @@ static ssize_t user_pin_configs_show(struct device *dev,
|
|||
return pin_configs_show(codec, &codec->user_pins, buf);
|
||||
}
|
||||
|
||||
#define MAX_PIN_CONFIGS 32
|
||||
|
||||
static int parse_user_pin_configs(struct hda_codec *codec, const char *buf)
|
||||
{
|
||||
int nid, cfg, err;
|
||||
|
|
Загрузка…
Ссылка в новой задаче