summaryrefslogtreecommitdiff
path: root/lib/vrf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vrf.h')
-rw-r--r--lib/vrf.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/vrf.h b/lib/vrf.h
index 6cdb52244d..c79dd99b9a 100644
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -159,18 +159,6 @@ static inline int vrf_is_user_cfged(struct vrf *vrf)
return vrf && CHECK_FLAG(vrf->status, VRF_CONFIGURED);
}
-/* Mark that VRF has user configuration */
-static inline void vrf_set_user_cfged(struct vrf *vrf)
-{
- SET_FLAG(vrf->status, VRF_CONFIGURED);
-}
-
-/* Mark that VRF no longer has any user configuration */
-static inline void vrf_reset_user_cfged(struct vrf *vrf)
-{
- UNSET_FLAG(vrf->status, VRF_CONFIGURED);
-}
-
static inline uint32_t vrf_interface_count(struct vrf *vrf)
{
uint32_t count = 0;