aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-03-16 16:46:27 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-03-16 23:34:33 +0100
commit47e56fd069d119da47c514d8e4a2671bb931aab7 (patch)
tree3012a183e62b7f0c81b2162e03888ced213b71ab
parentb5e6ef465469b2a7db73be05e5487176c0534cc1 (diff)
downloadpasst-47e56fd069d119da47c514d8e4a2671bb931aab7.tar
passt-47e56fd069d119da47c514d8e4a2671bb931aab7.tar.gz
passt-47e56fd069d119da47c514d8e4a2671bb931aab7.tar.bz2
passt-47e56fd069d119da47c514d8e4a2671bb931aab7.tar.lz
passt-47e56fd069d119da47c514d8e4a2671bb931aab7.tar.xz
passt-47e56fd069d119da47c514d8e4a2671bb931aab7.tar.zst
passt-47e56fd069d119da47c514d8e4a2671bb931aab7.zip
pif: Remove unused PIF_NAMELENHEADmaster
PIF_NAMELEN was meant to represent the maximum length of a pif name. However, so far all names are compile-time strings, so we haven't needed a length. Remove it, since it's slightly misleading. We can re-introduce something like it if/when we actually need it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--pif.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/pif.h b/pif.h
index e471fca..7bb58e5 100644
--- a/pif.h
+++ b/pif.h
@@ -35,8 +35,6 @@ enum pif_type {
PIF_NUM_TYPES,
};
-#define PIF_NAMELEN 8
-
extern const char *pif_type_str[];
static inline const char *pif_type(enum pif_type pt)