From 47e56fd069d119da47c514d8e4a2671bb931aab7 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Mon, 16 Mar 2026 16:46:27 +1100 Subject: pif: Remove unused PIF_NAMELEN 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 Signed-off-by: Stefano Brivio --- pif.h | 2 -- 1 file changed, 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) -- cgit v1.2.3