From 685e41f71f08d30703c1327ae28bf9e9903312f8 Mon Sep 17 00:00:00 2001
From: Matt Riedemann <mriedem.os@gmail.com>
Date: Mon, 20 Mar 2017 12:19:31 -0400
Subject: [PATCH] Remove unused VIFModel._get_legacy method

This was introduced in d777301135c4ed410cd43868e9d23790b99e68ff
and was dead code from the start.

Change-Id: I9ca1cbfac903a2f116eb66bea7f3b51f7459fd6f
---
 nova/objects/fields.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/nova/objects/fields.py b/nova/objects/fields.py
index ae64bbbce2f0..8e232c0abebc 100644
--- a/nova/objects/fields.py
+++ b/nova/objects/fields.py
@@ -552,9 +552,6 @@ class VIFModel(BaseNovaEnum):
 
     ALL = network_model.VIF_MODEL_ALL
 
-    def _get_legacy(self, value):
-        return value
-
     def coerce(self, obj, attr, value):
         # Some compat for strings we'd see in the legacy
         # hw_vif_model image property