summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-05-21 16:18:17 +0200
committerThomas Haller <thaller@redhat.com>2020-05-21 16:18:17 +0200
commit75075432690d2c8858cd0bb4bd3ccadb063c0c36 (patch)
tree88400385236232ee063f7251569349ec404a3dbc
parent3c33604aefcfb6665d51952f131d298e39b3fe60 (diff)
downloadNetworkManager-th/setting-option-and-ethtool.tar.gz
fixup! platform: make states of NMEthtoolCoalesceState indexed by ethtool_idth/setting-option-and-ethtool
-rw-r--r--src/platform/nm-platform-utils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/platform/nm-platform-utils.h b/src/platform/nm-platform-utils.h
index 9fb61626ea..062c859756 100644
--- a/src/platform/nm-platform-utils.h
+++ b/src/platform/nm-platform-utils.h
@@ -96,8 +96,6 @@ struct _NMEthtoolCoalesceState {
guint32 s[_NM_ETHTOOL_ID_COALESCE_NUM /* indexed by (NMEthtoolID - _NM_ETHTOOL_ID_COALESCE_FIRST) */];
};
-#define _NM_ETHTOOL_ID_COALESCE_AS_IDX(ethtool_id) ((ethtool_id) - _NM_ETHTOOL_ID_COALESCE_FIRST)
-
gboolean nmp_utils_ethtool_get_coalesce (int ifindex,
NMEthtoolCoalesceState *coalesce);