From c6e58796ba29d9e43b0dd32797dcb9f8d2b03a4c Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 31 Jul 2019 23:57:31 -0400 Subject: [PATCH] Clean up redundant return section --- node-daemon/pvcd/VMInstance.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/node-daemon/pvcd/VMInstance.py b/node-daemon/pvcd/VMInstance.py index 836ab17b..aa9f4d28 100644 --- a/node-daemon/pvcd/VMInstance.py +++ b/node-daemon/pvcd/VMInstance.py @@ -71,13 +71,8 @@ class VMInstance(object): # because this class instance is about to be reaped in Daemon.py return False - # If we get a delete state, just terminate outselves - if data == None: - return - # Otherwise perform a management command - else: - self.manage_vm_state() - + # Perform a management command + self.manage_vm_state() # Get data functions def getstate(self):