ALSA: hda: remove an unused field from struct hda_codec
authorGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Wed, 12 Jun 2019 16:36:54 +0000 (11:36 -0500)
committerTakashi Iwai <tiwai@suse.de>
Thu, 13 Jun 2019 09:30:16 +0000 (11:30 +0200)
The .jacks field in struct hda_codec is unused and seems to be a
duplicate of .jacktbl, remove it.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hda_codec.h

index cc7c8d42d4fd9a8a494f6b0cf59d48a8fbf2f902..2a1d1ad44d661ac8381971b6c7780d58eecbd3aa 100644 (file)
@@ -281,9 +281,6 @@ struct hda_codec {
        unsigned long jackpoll_interval; /* In jiffies. Zero means no poll, rely on unsol events */
        struct delayed_work jackpoll_work;
 
-       /* jack detection */
-       struct snd_array jacks;
-
        int depop_delay; /* depop delay in ms, -1 for default delay time */
 
        /* fix-up list */