From a56b7ab75184467fff08996a2c9219fd75a23afd Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 2 Feb 2022 12:39:30 +0100 Subject: [PATCH] libnm: drop unnecessary /*clang-format off*/ The problem was that glib-mkenums requires all enum values on a separate line. And clang-format would put all on the same line, unless the last value has a trailing comma. Which is the better solution here. --- src/libnm-core-public/nm-setting-vlan.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libnm-core-public/nm-setting-vlan.h b/src/libnm-core-public/nm-setting-vlan.h index b68a290aad..a99d725613 100644 --- a/src/libnm-core-public/nm-setting-vlan.h +++ b/src/libnm-core-public/nm-setting-vlan.h @@ -42,12 +42,10 @@ typedef struct _NMSettingVlanClass NMSettingVlanClass; * A selector for traffic priority maps; these map Linux SKB priorities * to 802.1p priorities used in VLANs. **/ -/* clang-format off */ typedef enum { NM_VLAN_INGRESS_MAP, - NM_VLAN_EGRESS_MAP + NM_VLAN_EGRESS_MAP, } NMVlanPriorityMap; -/* clang-format on */ /** * NMVlanFlags: