Skip to contentSkip to conversation

ALSA: remove trailing semicolon in macro definition

PATCH Applied [email protected] 2 participants 2 messages Nov 27, 2020 – Nov 28, 2020 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: remove trailing semicolon in macro definition

From: Tom Rix <[email protected]>

The macro use will already have a semicolon.

---
 include/sound/hda_codec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/sound/hda_codec.h +1 -1
index 73827b7d17e0..2e8d51937acd 100644
@@ -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);
Signature · 1 line
2.18.4