OSDN Git Service

ALSA: remove trailing semicolon in macro definition
authorTom Rix <trix@redhat.com>
Fri, 27 Nov 2020 19:23:12 +0000 (11:23 -0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 28 Nov 2020 08:50:20 +0000 (09:50 +0100)
The macro use will already have a semicolon.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20201127192312.2861127-1-trix@redhat.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hda_codec.h

index 73827b7..2e8d519 100644 (file)
@@ -344,7 +344,7 @@ snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid)
 #define snd_hda_get_raw_connections(codec, nid, list, max_conns) \
        snd_hdac_get_connections(&(codec)->core, nid, list, max_conns)
 #define snd_hda_get_num_raw_conns(codec, nid) \
-       snd_hdac_get_connections(&(codec)->core, nid, NULL, 0);
+       snd_hdac_get_connections(&(codec)->core, nid, NULL, 0)
 
 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid,
                          const hda_nid_t **listp);