pif: Remove unused pif_name() function
pif_name() has no current callers, although we expect some as we expand the flow table support. I'm not sure why this didn't get caught by one of our static checkers earlier, but it's now causing cppcheck failures for me. Add a cppcheck suppression. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
a179ca6707
commit
00c6eb6b68
1 changed files with 1 additions and 0 deletions
1
pif.h
1
pif.h
|
@ -38,6 +38,7 @@ static inline const char *pif_type(enum pif_type pt)
|
||||||
return "?";
|
return "?";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* cppcheck-suppress unusedFunction */
|
||||||
static inline const char *pif_name(uint8_t pif)
|
static inline const char *pif_name(uint8_t pif)
|
||||||
{
|
{
|
||||||
return pif_type(pif);
|
return pif_type(pif);
|
||||||
|
|
Loading…
Reference in a new issue